Skip to content

Commit 0e5a7fe

Browse files
committed
Fix failures
1 parent 9535a80 commit 0e5a7fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Support/SupportJsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testJsonSerializable()
5353

5454
public $bar = 'not world';
5555

56-
public function jsonSerialize()
56+
public function jsonSerialize(): mixed
5757
{
5858
return ['foo' => 'hello', 'bar' => 'world'];
5959
}
@@ -85,7 +85,7 @@ public function toJson($options = 0)
8585
return json_encode(['foo' => 'hello', 'bar' => 'world'], $options);
8686
}
8787

88-
public function jsonSerialize()
88+
public function jsonSerialize(): mixed
8989
{
9090
return ['foo' => 'not hello', 'bar' => 'not world'];
9191
}

0 commit comments

Comments
 (0)