We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b57c0e commit b8a4e94Copy full SHA for b8a4e94
1 file changed
AccessorTrait.php
@@ -1,4 +1,4 @@
1
-<?php
+<?php declare(strict_types=1);
2
3
/*
4
* This file is part of the Koded package.
@@ -22,7 +22,7 @@
22
*/
23
trait AccessorTrait
24
{
25
- public function & __get($index)
+ public function &__get($index)
26
27
if (false === array_key_exists($index, $this->storage)) {
28
$this->storage[$index] = null;
@@ -87,7 +87,7 @@ public function getIterator(): Traversable
87
}
88
89
90
- public function jsonSerialize(): array
+ public function jsonSerialize(): mixed
91
92
return $this->storage;
93
0 commit comments