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

@@ -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);
}
}