if (\
is_string($userProvider)) { trigger_deprecation('symfony/security-http', '6.3', 'Calling "%s()" with the secret as the second argument is deprecated. The argument will be dropped in 7.0.', __CLASS__
);
$userProvider =
$requestStack;
$requestStack =
$options;
$options =
$logger;
$logger =
$tokenVerifier;
$tokenVerifier = \
func_num_args() > 6 ?
func_get_arg(6
) : null;
} if (!
$userProvider instanceof UserProviderInterface
) { throw new \
TypeError(sprintf('Argument 2 passed to "%s()" must be an instance of "%s", "%s" given.', __CLASS__, UserProviderInterface::
class,
get_debug_type($userProvider)));
} if (!
$requestStack instanceof RequestStack
) { throw new \
TypeError(sprintf('Argument 3 passed to "%s()" must be an instance of "%s", "%s" given.', __CLASS__, RequestStack::
class,
get_debug_type($userProvider)));
} if (!\
is_array($options)) { throw new \
TypeError(sprintf('Argument 4 passed to "%s()" must be an array, "%s" given.', __CLASS__,
get_debug_type($userProvider)));
} if (null !==
$logger && !
$logger instanceof LoggerInterface
) {