mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
@@ -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();
|
||||
}
|
||||
}
|
||||
|
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user