Skip to content

Commit a7df8f0

Browse files
committed
Add return type to jsonSerialize
1 parent 7edcda4 commit a7df8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Struct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function ($reflection) {
149149
*
150150
* @return array
151151
*/
152-
public function jsonSerialize()
152+
public function jsonSerialize(): array
153153
{
154154
return $this->toArray();
155155
}

0 commit comments

Comments
 (0)