Skip to content

Commit d3ae4c4

Browse files
committed
fix phpstan
1 parent 0202307 commit d3ae4c4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/DependencyInjection/LeagueOAuth2ServerExtension.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ public function process(ContainerBuilder $container)
122122
$this->assertRequiredBundlesAreEnabled($container);
123123
}
124124

125+
/**
126+
* @param mixed[] $configs
127+
*/
125128
private static function hasDoctrineConnectionsConfigured(array $configs): bool
126129
{
127130
foreach ($configs as $config) {
@@ -295,6 +298,9 @@ private function configurePersistence(LoaderInterface $loader, ContainerBuilder
295298
}
296299
}
297300

301+
/**
302+
* @param mixed[] $config
303+
*/
298304
private function getPersistenceMethod(array $config): ?string
299305
{
300306
$persistenceMethod = key($config['persistence']);

0 commit comments

Comments
 (0)