Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Fixes ldaptools#61. add reurn type to methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Young, Mark committed Nov 30, 2021
1 parent eaa445a commit 8d105b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DependencyInjection/Security/Factory/LdapFormLoginFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@ public function __construct()
/**
* {@inheritdoc}
*/
public function getKey()
public function getKey(): string
{
return 'ldap-tools-form';
}

/**
* {@inheritdoc}
*/
protected function getListenerId()
protected function getListenerId(): string
{
return 'ldap_tools.security.firewall.ldap_form_login_listener';
}

/**
* {@inheritdoc}
*/
protected function createAuthProvider(ContainerBuilder $container, $id, $config, $userProviderId)
protected function createAuthProvider(ContainerBuilder $container, $id, $config, $userProviderId): string
{
$provider = 'ldap_tools.security.user.ldap_user_provider.'.$id;
$decorator = class_exists('Symfony\Component\DependencyInjection\ChildDefinition') ?
Expand Down

0 comments on commit 8d105b0

Please sign in to comment.