Rector changes and immplementations of required methods

This commit is contained in:
2025-05-22 17:47:07 +02:00
parent 053b92b77c
commit 17db59d221
1138 changed files with 2656 additions and 2616 deletions

View File

@@ -64,7 +64,7 @@ final class NotificationTest extends KernelTestCase
];
}
public function testAddAddresseeStoreAnUread()
public function testAddAddresseeStoreAnUread(): void
{
$notification = new Notification();
$notification->addAddressee($user1 = new User());
@@ -108,7 +108,7 @@ final class NotificationTest extends KernelTestCase
/**
* @dataProvider generateNotificationData
*/
public function testPrePersistComputeUnread(int $senderId, array $addressesIds)
public function testPrePersistComputeUnread(int $senderId, array $addressesIds): void
{
$em = self::getContainer()->get(EntityManagerInterface::class);
$notification = new Notification();