Skip to content

Commit 8bc0818

Browse files
committed
fix cs
1 parent 5a1fe99 commit 8bc0818

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/CmfRoutingBundle.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ private function buildPhpcrCompilerPass(ContainerBuilder $container): void
6363
$aliasMap = ['CmfRoutingBundle' => 'Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr'];
6464
}
6565
$container->addCompilerPass(
66+
/* @phpstan-ignore arguments.count (support for doctrine/persistence 2) */
6667
DoctrinePhpcrMappingsPass::createXmlMappingDriver(
6768
[
6869
realpath(__DIR__.'/Resources/config/doctrine-model') => 'Symfony\Cmf\Bundle\RoutingBundle\Model',

src/Doctrine/Phpcr/LocaleListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct(
7070
PrefixCandidates $candidates,
7171
array $locales,
7272
bool $addLocalePattern = false,
73-
bool $updateAvailableTranslations = false
73+
bool $updateAvailableTranslations = false,
7474
) {
7575
$this->candidates = $candidates;
7676
$this->locales = $locales;

src/Doctrine/Phpcr/RouteProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(
4545
ManagerRegistry $managerRegistry,
4646
CandidatesInterface $candidatesStrategy,
4747
?string $className = null,
48-
?LoggerInterface $logger = null
48+
?LoggerInterface $logger = null,
4949
) {
5050
parent::__construct($managerRegistry, $className);
5151
$this->candidatesStrategy = $candidatesStrategy;

0 commit comments

Comments
 (0)