Skip to content

Commit 8cc45b0

Browse files
committed
Remove FQCN type hints on properties
1 parent 0df2795 commit 8cc45b0

File tree

9 files changed

+10
-11
lines changed

9 files changed

+10
-11
lines changed

Adapter/ExtLdap/Adapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
class Adapter implements AdapterInterface
2424
{
2525
private array $config;
26-
private ConnectionInterface $connection;
27-
private EntryManagerInterface $entryManager;
26+
private $connection;
27+
private $entryManager;
2828

2929
public function __construct(array $config = [])
3030
{

Adapter/ExtLdap/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
*/
2121
class Collection implements CollectionInterface
2222
{
23-
private Connection $connection;
24-
private Query $search;
23+
private $connection;
24+
private $search;
2525
/** @var list<Entry> */
2626
private array $entries;
2727

Adapter/ExtLdap/EntryManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
class EntryManager implements EntryManagerInterface
2525
{
26-
private Connection $connection;
26+
private $connection;
2727

2828
public function __construct(Connection $connection)
2929
{

Ldap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
final class Ldap implements LdapInterface
2424
{
25-
private AdapterInterface $adapter;
25+
private $adapter;
2626

2727
public function __construct(AdapterInterface $adapter)
2828
{

Security/CheckLdapCredentialsListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
class CheckLdapCredentialsListener implements EventSubscriberInterface
3030
{
31-
private ContainerInterface $ldapLocator;
31+
private $ldapLocator;
3232

3333
public function __construct(ContainerInterface $ldapLocator)
3434
{

Security/LdapAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*/
3535
class LdapAuthenticator implements AuthenticationEntryPointInterface, InteractiveAuthenticatorInterface
3636
{
37-
private AuthenticatorInterface $authenticator;
37+
private $authenticator;
3838
private string $ldapServiceId;
3939
private string $dnString;
4040
private string $searchDn;

Security/LdapUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
class LdapUser implements UserInterface, PasswordAuthenticatedUserInterface, EquatableInterface
2525
{
26-
private Entry $entry;
26+
private $entry;
2727
private string $username;
2828
private ?string $password;
2929
private array $roles;

Security/LdapUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
class LdapUserProvider implements UserProviderInterface, PasswordUpgraderInterface
3434
{
35-
private LdapInterface $ldap;
35+
private $ldap;
3636
private string $baseDn;
3737
private ?string $searchDn;
3838
private ?string $searchPassword;

Tests/Adapter/ExtLdap/LdapManagerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use Symfony\Component\Ldap\Adapter\CollectionInterface;
1515
use Symfony\Component\Ldap\Adapter\ExtLdap\Adapter;
16-
use Symfony\Component\Ldap\Adapter\ExtLdap\Collection;
1716
use Symfony\Component\Ldap\Adapter\ExtLdap\UpdateOperation;
1817
use Symfony\Component\Ldap\Entry;
1918
use Symfony\Component\Ldap\Exception\LdapException;

0 commit comments

Comments
 (0)