Skip to content

Commit 918f8ea

Browse files
wouterjnicolas-grekas
authored andcommitted
Add PHP types to private methods and functions
1 parent 8f3e4eb commit 918f8ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DependencyInjection/SecurityExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ private function createFirewalls(array $config, ContainerBuilder $container)
353353
}
354354
}
355355

356-
private function createFirewall(ContainerBuilder $container, string $id, array $firewall, array &$authenticationProviders, array $providerIds, string $configId)
356+
private function createFirewall(ContainerBuilder $container, string $id, array $firewall, array &$authenticationProviders, array $providerIds, string $configId): array
357357
{
358358
$config = $container->setDefinition($configId, new ChildDefinition('security.firewall.config'));
359359
$config->replaceArgument(0, $id);
@@ -599,7 +599,7 @@ private function createContextListener(ContainerBuilder $container, string $cont
599599
return $this->contextListeners[$contextKey] = $listenerId;
600600
}
601601

602-
private function createAuthenticationListeners(ContainerBuilder $container, string $id, array $firewall, array &$authenticationProviders, ?string $defaultProvider, array $providerIds, ?string $defaultEntryPoint, string $contextListenerId = null)
602+
private function createAuthenticationListeners(ContainerBuilder $container, string $id, array $firewall, array &$authenticationProviders, ?string $defaultProvider, array $providerIds, ?string $defaultEntryPoint, string $contextListenerId = null): array
603603
{
604604
$listeners = [];
605605
$entryPoints = [];

0 commit comments

Comments
 (0)