fix: noverify --fix

This commit is contained in:
origami11@yandex.ru 2024-06-14 14:12:02 +03:00
parent 5aff28d2b8
commit 117640a755
44 changed files with 174 additions and 174 deletions

View file

@ -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;
}
}