apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -35,6 +35,6 @@ final readonly class AccompanyingPeriodNotificationHandler implements Notificati
public function supports(Notification $notification, array $options = []): bool
{
return $notification->getRelatedEntityClass() === AccompanyingPeriod::class;
return AccompanyingPeriod::class === $notification->getRelatedEntityClass();
}
}

View File

@@ -1,6 +1,5 @@
<?php
declare(strict_types=1);
/*
@@ -37,6 +36,6 @@ final readonly class AccompanyingPeriodWorkEvaluationDocumentNotificationHandler
public function supports(Notification $notification, array $options = []): bool
{
return $notification->getRelatedEntityClass() === AccompanyingPeriodWorkEvaluationDocument::class;
return AccompanyingPeriodWorkEvaluationDocument::class === $notification->getRelatedEntityClass();
}
}

View File

@@ -1,6 +1,5 @@
<?php
declare(strict_types=1);
/*
@@ -36,6 +35,6 @@ final readonly class AccompanyingPeriodWorkNotificationHandler implements Notifi
public function supports(Notification $notification, array $options = []): bool
{
return $notification->getRelatedEntityClass() === AccompanyingPeriodWork::class;
return AccompanyingPeriodWork::class === $notification->getRelatedEntityClass();
}
}