Skip to content

Commit 7d37bd1

Browse files
committed
Correct return type
1 parent a623680 commit 7d37bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Http/HttpClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function testCanSendJsonSerializableData()
205205

206206
$this->factory->asJson()->post('http://foo.com/form', new class implements JsonSerializable
207207
{
208-
public function jsonSerialize()
208+
public function jsonSerialize(): mixed
209209
{
210210
return [
211211
'name' => 'Taylor',

0 commit comments

Comments
 (0)