Skip to content

Commit 1fc548d

Browse files
committed
[CS] Remove @inheritdoc PHPDoc
1 parent 9a84fad commit 1fc548d

File tree

8 files changed

+0
-70
lines changed

8 files changed

+0
-70
lines changed

Adapter/ExtLdap/Adapter.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,33 +35,21 @@ public function __construct(array $config = [])
3535
$this->config = $config;
3636
}
3737

38-
/**
39-
* {@inheritdoc}
40-
*/
4138
public function getConnection(): ConnectionInterface
4239
{
4340
return $this->connection ??= new Connection($this->config);
4441
}
4542

46-
/**
47-
* {@inheritdoc}
48-
*/
4943
public function getEntryManager(): EntryManagerInterface
5044
{
5145
return $this->entryManager ??= new EntryManager($this->getConnection());
5246
}
5347

54-
/**
55-
* {@inheritdoc}
56-
*/
5748
public function createQuery(string $dn, string $query, array $options = []): QueryInterface
5849
{
5950
return new Query($this->getConnection(), $dn, $query, $options);
6051
}
6152

62-
/**
63-
* {@inheritdoc}
64-
*/
6553
public function escape(string $subject, string $ignore = '', int $flags = 0): string
6654
{
6755
$value = ldap_escape($subject, $ignore, $flags);

Adapter/ExtLdap/Collection.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ public function __construct(Connection $connection, Query $search)
3131
$this->search = $search;
3232
}
3333

34-
/**
35-
* {@inheritdoc}
36-
*/
3734
public function toArray(): array
3835
{
3936
return $this->entries ??= iterator_to_array($this->getIterator(), false);

Adapter/ExtLdap/Connection.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,12 @@ public function __destruct()
5656
$this->disconnect();
5757
}
5858

59-
/**
60-
* {@inheritdoc}
61-
*/
6259
public function isBound(): bool
6360
{
6461
return $this->bound;
6562
}
6663

6764
/**
68-
* {@inheritdoc}
69-
*
7065
* @param string $password WARNING: When the LDAP server allows unauthenticated binds, a blank $password will always be valid
7166
*/
7267
public function bind(string $dn = null, #[\SensitiveParameter] string $password = null)

Adapter/ExtLdap/EntryManager.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public function __construct(Connection $connection)
3030
$this->connection = $connection;
3131
}
3232

33-
/**
34-
* {@inheritdoc}
35-
*/
3633
public function add(Entry $entry)
3734
{
3835
$con = $this->getConnectionResource();
@@ -44,9 +41,6 @@ public function add(Entry $entry)
4441
return $this;
4542
}
4643

47-
/**
48-
* {@inheritdoc}
49-
*/
5044
public function update(Entry $entry)
5145
{
5246
$con = $this->getConnectionResource();
@@ -56,9 +50,6 @@ public function update(Entry $entry)
5650
}
5751
}
5852

59-
/**
60-
* {@inheritdoc}
61-
*/
6253
public function remove(Entry $entry)
6354
{
6455
$con = $this->getConnectionResource();
@@ -98,9 +89,6 @@ public function removeAttributeValues(Entry $entry, string $attribute, array $va
9889
}
9990
}
10091

101-
/**
102-
* {@inheritdoc}
103-
*/
10492
public function rename(Entry $entry, string $newRdn, bool $removeOldRdn = true)
10593
{
10694
$con = $this->getConnectionResource();

Adapter/ExtLdap/Query.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ public function __destruct()
6161
unset($this->results);
6262
}
6363

64-
/**
65-
* {@inheritdoc}
66-
*/
6764
public function execute(): CollectionInterface
6865
{
6966
if (!isset($this->results)) {

Ldap.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,21 @@ public function __construct(AdapterInterface $adapter)
2929
$this->adapter = $adapter;
3030
}
3131

32-
/**
33-
* {@inheritdoc}
34-
*/
3532
public function bind(string $dn = null, #[\SensitiveParameter] string $password = null)
3633
{
3734
$this->adapter->getConnection()->bind($dn, $password);
3835
}
3936

40-
/**
41-
* {@inheritdoc}
42-
*/
4337
public function query(string $dn, string $query, array $options = []): QueryInterface
4438
{
4539
return $this->adapter->createQuery($dn, $query, $options);
4640
}
4741

48-
/**
49-
* {@inheritdoc}
50-
*/
5142
public function getEntryManager(): EntryManagerInterface
5243
{
5344
return $this->adapter->getEntryManager();
5445
}
5546

56-
/**
57-
* {@inheritdoc}
58-
*/
5947
public function escape(string $subject, string $ignore = '', int $flags = 0): string
6048
{
6149
return $this->adapter->escape($subject, $ignore, $flags);

Security/LdapUser.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,16 @@ public function getEntry(): Entry
4747
return $this->entry;
4848
}
4949

50-
/**
51-
* {@inheritdoc}
52-
*/
5350
public function getRoles(): array
5451
{
5552
return $this->roles;
5653
}
5754

58-
/**
59-
* {@inheritdoc}
60-
*/
6155
public function getPassword(): ?string
6256
{
6357
return $this->password;
6458
}
6559

66-
/**
67-
* {@inheritdoc}
68-
*/
6960
public function getSalt(): ?string
7061
{
7162
return null;
@@ -84,9 +75,6 @@ public function getUserIdentifier(): string
8475
return $this->identifier;
8576
}
8677

87-
/**
88-
* {@inheritdoc}
89-
*/
9078
public function eraseCredentials()
9179
{
9280
$this->password = null;
@@ -102,9 +90,6 @@ public function setPassword(#[\SensitiveParameter] string $password)
10290
$this->password = $password;
10391
}
10492

105-
/**
106-
* {@inheritdoc}
107-
*/
10893
public function isEqualTo(UserInterface $user): bool
10994
{
11095
if (!$user instanceof self) {

Security/LdapUserProvider.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,6 @@ public function loadUserByIdentifier(string $identifier): UserInterface
117117
return $this->loadUser($identifier, $entry);
118118
}
119119

120-
/**
121-
* {@inheritdoc}
122-
*/
123120
public function refreshUser(UserInterface $user): UserInterface
124121
{
125122
if (!$user instanceof LdapUser) {
@@ -130,8 +127,6 @@ public function refreshUser(UserInterface $user): UserInterface
130127
}
131128

132129
/**
133-
* {@inheritdoc}
134-
*
135130
* @final
136131
*/
137132
public function upgradePassword(PasswordAuthenticatedUserInterface $user, string $newHashedPassword): void
@@ -153,9 +148,6 @@ public function upgradePassword(PasswordAuthenticatedUserInterface $user, string
153148
}
154149
}
155150

156-
/**
157-
* {@inheritdoc}
158-
*/
159151
public function supportsClass(string $class): bool
160152
{
161153
return LdapUser::class === $class;

0 commit comments

Comments
 (0)