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 ce96de9 commit e6a652eCopy full SHA for e6a652e
Adapter/ExtLdap/Collection.php
@@ -101,7 +101,7 @@ public function offsetGet($offset)
101
{
102
$this->toArray();
103
104
- return isset($this->entries[$offset]) ? $this->entries[$offset] : null;
+ return $this->entries[$offset] ?? null;
105
}
106
107
public function offsetSet($offset, $value)
Entry.php
@@ -59,7 +59,7 @@ public function hasAttribute($name)
59
*/
60
public function getAttribute($name)
61
62
- return isset($this->attributes[$name]) ? $this->attributes[$name] : null;
+ return $this->attributes[$name] ?? null;
63
64
65
/**
0 commit comments