Skip to content

Commit c1071d7

Browse files
committed
Add return type to __toString() methods
1 parent 28c8065 commit c1071d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/MockHttpClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ public function testStringableBodyParam()
519519
$client = new MockHttpClient();
520520

521521
$param = new class() {
522-
public function __toString()
522+
public function __toString(): string
523523
{
524524
return 'bar';
525525
}

0 commit comments

Comments
 (0)