We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
KernelBrowser::loginUser()
1 parent dd0b3d9 commit 6fd189fCopy full SHA for 6fd189f
KernelBrowser.php
@@ -100,10 +100,8 @@ public function enableReboot(): void
100
*
101
* @return $this
102
*/
103
- public function loginUser(object $user, string $firewallContext = 'main'/* , array $tokenAttributes = [] */): static
+ public function loginUser(object $user, string $firewallContext = 'main', array $tokenAttributes = []): static
104
{
105
- $tokenAttributes = 2 < \func_num_args() ? func_get_arg(2) : [];
106
-
107
if (!interface_exists(UserInterface::class)) {
108
throw new \LogicException(sprintf('"%s" requires symfony/security-core to be installed. Try running "composer require symfony/security-core".', __METHOD__));
109
}
0 commit comments