mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-26 08:35:00 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -20,9 +20,7 @@ namespace Chill\CalendarBundle\Service\ShortMessageNotification;
|
||||
|
||||
use Chill\CalendarBundle\Entity\Calendar;
|
||||
use Chill\CalendarBundle\Repository\CalendarRepository;
|
||||
use DateTimeImmutable;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use function count;
|
||||
|
||||
class CalendarForShortMessageProvider
|
||||
{
|
||||
@@ -35,7 +33,7 @@ class CalendarForShortMessageProvider
|
||||
*
|
||||
* @return iterable|Calendar[]
|
||||
*/
|
||||
public function getCalendars(DateTimeImmutable $at): iterable
|
||||
public function getCalendars(\DateTimeImmutable $at): iterable
|
||||
{
|
||||
$range = $this->rangeGenerator->generateRange($at);
|
||||
|
||||
@@ -62,6 +60,6 @@ class CalendarForShortMessageProvider
|
||||
|
||||
$calendars = $this->calendarRepository
|
||||
->findByNotificationAvailable($startDate, $endDate, $batchSize, $offset);
|
||||
} while (count($calendars) === $batchSize);
|
||||
} while (\count($calendars) === $batchSize);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user