We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f135b47 commit 353f83bCopy full SHA for 353f83b
src/PHPOpenLDAPer/LDAPEntry.php
@@ -419,11 +419,12 @@ public function getAttribute(string $attr): mixed
419
}
420
421
/**
422
- * Returns the entire objects attributes
+ * Returns the entire objects attributes in form suitable for setAttributes()
423
*
424
* @return array Array where keys are attributes
425
*/
426
- public function getAttributes() {
+ public function getAttributes(): array
427
+ {
428
$has_mods = $this->mods != null;
429
$has_object = $this->object != null;
430
if (!$has_mods && !$has_object) {
0 commit comments