Skip to content

Commit 7de6feb

Browse files
committed
Fix inherit docs
1 parent 50268f2 commit 7de6feb

File tree

15 files changed

+63
-63
lines changed

15 files changed

+63
-63
lines changed

src/Ldap.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function getAttributes(mixed $entry): array|false
6262
}
6363

6464
/**
65-
* {@inheritDoc}
65+
* {@inheritdoc}
6666
*/
6767
public function countEntries(mixed $result): int
6868
{
@@ -72,7 +72,7 @@ public function countEntries(mixed $result): int
7272
}
7373

7474
/**
75-
* {@inheritDoc}
75+
* {@inheritdoc}
7676
*/
7777
public function compare(string $dn, string $attribute, string $value, ?array $controls = null): bool|int
7878
{
@@ -108,7 +108,7 @@ public function getDetailedError(): ?DetailedError
108108
}
109109

110110
/**
111-
* {@inheritDoc}
111+
* {@inheritdoc}
112112
*/
113113
public function getValuesLen(mixed $entry, string $attribute): array|false
114114
{
@@ -285,7 +285,7 @@ public function bind(?string $dn = null, ?string $password = null, ?array $contr
285285
}
286286

287287
/**
288-
* {@inheritDoc}
288+
* {@inheritdoc}
289289
*/
290290
public function saslBind(?string $dn = null, ?string $password = null, array $options = []): bool
291291
{

src/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ public function addFilter(Filter $filter, string $boolean = 'and'): static
11731173
}
11741174

11751175
// Flatten same-type groups to avoid deeply nested structures.
1176-
// e.g., AndGroup(AndGroup(a, b), c) becomes AndGroup(a, b, c)
1176+
// Ex: AndGroup(AndGroup(a, b), c) becomes AndGroup(a, b, c)
11771177
if ($boolean === 'or') {
11781178
$this->filter = $this->filter instanceof OrGroup
11791179
? new OrGroup(...[...$this->filter->getFilters(), $filter])

src/Query/Filter/AndGroup.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@ public function getFilters(): array
3030
}
3131

3232
/**
33-
* Get the group's operator.
33+
* {@inheritdoc}
3434
*/
3535
public function getOperator(): string
3636
{
3737
return '&';
3838
}
3939

4040
/**
41-
* Get the raw filter string (without outer parentheses).
41+
* {@inheritdoc}
4242
*/
4343
public function getRaw(): string
4444
{
4545
return '&'.implode('', array_map(fn (Filter $filter) => (string) $filter, $this->filters));
4646
}
4747

4848
/**
49-
* Compile the filter to its LDAP string representation.
49+
* {@inheritdoc}
5050
*/
5151
public function __toString(): string
5252
{

src/Query/Filter/ApproximatelyEquals.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ public function __construct(
1313
) {}
1414

1515
/**
16-
* Get the filter's attribute.
16+
* {@inheritdoc}
1717
*/
1818
public function getAttribute(): string
1919
{
2020
return $this->attribute;
2121
}
2222

2323
/**
24-
* Get the filter's operator.
24+
* {@inheritdoc}
2525
*/
2626
public function getOperator(): string
2727
{
2828
return '~=';
2929
}
3030

3131
/**
32-
* Get the filter's value.
32+
* {@inheritdoc}
3333
*/
3434
public function getValue(): string
3535
{
3636
return $this->value;
3737
}
3838

3939
/**
40-
* Get the raw filter string (without parentheses).
40+
* {@inheritdoc}
4141
*/
4242
public function getRaw(): string
4343
{
4444
return "{$this->attribute}~={$this->value}";
4545
}
4646

4747
/**
48-
* Compile the filter to its LDAP string representation.
48+
* {@inheritdoc}
4949
*/
5050
public function __toString(): string
5151
{

src/Query/Filter/Contains.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ public function __construct(
1313
) {}
1414

1515
/**
16-
* Get the filter's attribute.
16+
* {@inheritdoc}
1717
*/
1818
public function getAttribute(): string
1919
{
2020
return $this->attribute;
2121
}
2222

2323
/**
24-
* Get the filter's operator.
24+
* {@inheritdoc}
2525
*/
2626
public function getOperator(): string
2727
{
2828
return '=';
2929
}
3030

3131
/**
32-
* Get the filter's value.
32+
* {@inheritdoc}
3333
*/
3434
public function getValue(): string
3535
{
3636
return $this->value;
3737
}
3838

3939
/**
40-
* Get the raw filter string (without parentheses).
40+
* {@inheritdoc}
4141
*/
4242
public function getRaw(): string
4343
{
4444
return "{$this->attribute}=*{$this->value}*";
4545
}
4646

4747
/**
48-
* Compile the filter to its LDAP string representation.
48+
* {@inheritdoc}
4949
*/
5050
public function __toString(): string
5151
{

src/Query/Filter/EndsWith.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ public function __construct(
1313
) {}
1414

1515
/**
16-
* Get the filter's attribute.
16+
* {@inheritdoc}
1717
*/
1818
public function getAttribute(): string
1919
{
2020
return $this->attribute;
2121
}
2222

2323
/**
24-
* Get the filter's operator.
24+
* {@inheritdoc}
2525
*/
2626
public function getOperator(): string
2727
{
2828
return '=';
2929
}
3030

3131
/**
32-
* Get the filter's value.
32+
* {@inheritdoc}
3333
*/
3434
public function getValue(): string
3535
{
3636
return $this->value;
3737
}
3838

3939
/**
40-
* Get the raw filter string (without parentheses).
40+
* {@inheritdoc}
4141
*/
4242
public function getRaw(): string
4343
{
4444
return "{$this->attribute}=*{$this->value}";
4545
}
4646

4747
/**
48-
* Compile the filter to its LDAP string representation.
48+
* {@inheritdoc}
4949
*/
5050
public function __toString(): string
5151
{

src/Query/Filter/Equals.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ public function __construct(
1313
) {}
1414

1515
/**
16-
* Get the filter's attribute.
16+
* {@inheritdoc}
1717
*/
1818
public function getAttribute(): string
1919
{
2020
return $this->attribute;
2121
}
2222

2323
/**
24-
* Get the filter's operator.
24+
* {@inheritdoc}
2525
*/
2626
public function getOperator(): string
2727
{
2828
return '=';
2929
}
3030

3131
/**
32-
* Get the filter's value.
32+
* {@inheritdoc}
3333
*/
3434
public function getValue(): string
3535
{
3636
return $this->value;
3737
}
3838

3939
/**
40-
* Get the raw filter string (without parentheses).
40+
* {@inheritdoc}
4141
*/
4242
public function getRaw(): string
4343
{
4444
return "{$this->attribute}={$this->value}";
4545
}
4646

4747
/**
48-
* Compile the filter to its LDAP string representation.
48+
* {@inheritdoc}
4949
*/
5050
public function __toString(): string
5151
{

src/Query/Filter/GreaterThanOrEquals.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ public function __construct(
1313
) {}
1414

1515
/**
16-
* Get the filter's attribute.
16+
* {@inheritdoc}
1717
*/
1818
public function getAttribute(): string
1919
{
2020
return $this->attribute;
2121
}
2222

2323
/**
24-
* Get the filter's operator.
24+
* {@inheritdoc}
2525
*/
2626
public function getOperator(): string
2727
{
2828
return '>=';
2929
}
3030

3131
/**
32-
* Get the filter's value.
32+
* {@inheritdoc}
3333
*/
3434
public function getValue(): string
3535
{
3636
return $this->value;
3737
}
3838

3939
/**
40-
* Get the raw filter string (without parentheses).
40+
* {@inheritdoc}
4141
*/
4242
public function getRaw(): string
4343
{
4444
return "{$this->attribute}>={$this->value}";
4545
}
4646

4747
/**
48-
* Compile the filter to its LDAP string representation.
48+
* {@inheritdoc}
4949
*/
5050
public function __toString(): string
5151
{

src/Query/Filter/Has.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,39 @@ public function __construct(
1212
) {}
1313

1414
/**
15-
* Get the filter's attribute.
15+
* {@inheritdoc}
1616
*/
1717
public function getAttribute(): string
1818
{
1919
return $this->attribute;
2020
}
2121

2222
/**
23-
* Get the filter's operator.
23+
* {@inheritdoc}
2424
*/
2525
public function getOperator(): string
2626
{
2727
return '=';
2828
}
2929

3030
/**
31-
* Get the filter's value.
31+
* {@inheritdoc}
3232
*/
3333
public function getValue(): ?string
3434
{
3535
return null;
3636
}
3737

3838
/**
39-
* Get the raw filter string (without parentheses).
39+
* {@inheritdoc}
4040
*/
4141
public function getRaw(): string
4242
{
4343
return "{$this->attribute}=*";
4444
}
4545

4646
/**
47-
* Compile the filter to its LDAP string representation.
47+
* {@inheritdoc}
4848
*/
4949
public function __toString(): string
5050
{

src/Query/Filter/LessThanOrEquals.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ public function __construct(
1313
) {}
1414

1515
/**
16-
* Get the filter's attribute.
16+
* {@inheritdoc}
1717
*/
1818
public function getAttribute(): string
1919
{
2020
return $this->attribute;
2121
}
2222

2323
/**
24-
* Get the filter's operator.
24+
* {@inheritdoc}
2525
*/
2626
public function getOperator(): string
2727
{
2828
return '<=';
2929
}
3030

3131
/**
32-
* Get the filter's value.
32+
* {@inheritdoc}
3333
*/
3434
public function getValue(): string
3535
{
3636
return $this->value;
3737
}
3838

3939
/**
40-
* Get the raw filter string (without parentheses).
40+
* {@inheritdoc}
4141
*/
4242
public function getRaw(): string
4343
{
4444
return "{$this->attribute}<={$this->value}";
4545
}
4646

4747
/**
48-
* Compile the filter to its LDAP string representation.
48+
* {@inheritdoc}
4949
*/
5050
public function __toString(): string
5151
{

0 commit comments

Comments
 (0)