core-bundle/src/DependencyInjection/Security/ContaoLoginFactory.php
protected function createListener($container, $id, $config, $userProvider): string
    {
        $listenerId = parent::createListener($container, $id, $config, $userProvider);

        /* @var ContainerBuilder $container */
        $container
            ->getDefinition($listenerId)
            ->replaceArgument(
                7,
                array_merge(
                    $container->getDefinition($listenerId)->getArgument(7),
                    ['username_parameter' => 'username', 'password_parameter' => 'password']
                )
            )
        ;

        return $listenerId;
    }
protected function createListener($container, $id, $config, $userProvider): string
    {
        $listenerId = parent::createListener($container, $id, $config, $userProvider);

        /* @var ContainerBuilder $container */
        $container
            ->getDefinition($listenerId)
            ->replaceArgument(
                7,
                array_merge(
                    $container->getDefinition($listenerId)->getArgument(7),
                    ['username_parameter' => 'username', 'password_parameter' => 'password']
                )
            )
        ;

        return $listenerId;
    }
protected function createListener ( $ container , $ id , $ config , $ userProvider ) : string { $ listenerId = parent :: createListener ( $ container , $ id , $ config , $ userProvider ) ; /* @var ContainerBuilder $container */ $ container -> getDefinition ( $ listenerId ) -> replaceArgument ( 7 , array_merge ( $ container -> getDefinition ( $ listenerId ) -> getArgument ( 7 ) , [ 'username_parameter' => 'username' , 'password_parameter' => 'password' ] ) ) ; return $ listenerId ; }
{@inheritdoc}
{