Add return type
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
375ece362d
commit
5c10df6d2d
|
@ -2022,7 +2022,7 @@ class Access extends LDAPUtility implements IUserTools {
|
||||||
* @param string|string[]|null $attr
|
* @param string|string[]|null $attr
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
private function manyAttributes($attr) {
|
private function manyAttributes($attr): bool {
|
||||||
if (\is_array($attr)) {
|
if (\is_array($attr)) {
|
||||||
return \count($attr) > 1;
|
return \count($attr) > 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue