Skip to content

Commit 353f83b

Browse files
committed
more similar to original
1 parent f135b47 commit 353f83b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PHPOpenLDAPer/LDAPEntry.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,12 @@ public function getAttribute(string $attr): mixed
419419
}
420420

421421
/**
422-
* Returns the entire objects attributes
422+
* Returns the entire objects attributes in form suitable for setAttributes()
423423
*
424424
* @return array Array where keys are attributes
425425
*/
426-
public function getAttributes() {
426+
public function getAttributes(): array
427+
{
427428
$has_mods = $this->mods != null;
428429
$has_object = $this->object != null;
429430
if (!$has_mods && !$has_object) {

0 commit comments

Comments
 (0)