File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function load(stdClass $response): void
4949 $ this ->rewind ();
5050 }
5151
52- public function jsonSerialize ()
52+ public function jsonSerialize (): mixed
5353 {
5454 return array_filter (
5555 parent ::jsonSerialize (),
@@ -63,12 +63,12 @@ public function rewind(): void
6363 $ this ->position = 0 ;
6464 }
6565
66- public function current ()
66+ public function current (): mixed
6767 {
6868 return $ this ->items [$ this ->position ];
6969 }
7070
71- public function key ()
71+ public function key (): mixed
7272 {
7373 return $ this ->position ;
7474 }
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function load(stdClass $response): void
6969 }
7070 }
7171
72- public function jsonSerialize ()
72+ public function jsonSerialize (): mixed
7373 {
7474 return array_filter (
7575 array_map (function ($ value ) {
You can’t perform that action at this time.
0 commit comments