fix: noverify --fix
This commit is contained in:
parent
5aff28d2b8
commit
117640a755
44 changed files with 174 additions and 174 deletions
|
|
@ -76,7 +76,7 @@ class Collection implements \ArrayAccess
|
|||
|
||||
public function clear()
|
||||
{
|
||||
$this->data = array();
|
||||
$this->data = [];
|
||||
}
|
||||
|
||||
public function offsetSet($key, $value): void
|
||||
|
|
@ -96,6 +96,6 @@ class Collection implements \ArrayAccess
|
|||
|
||||
public function offsetGet($key): mixed
|
||||
{
|
||||
return isset($this->data[$key]) ? $this->data[$key] : null;
|
||||
return $this->data[$key] ?? null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue