Skip to content

Commit 76d7f37

Browse files
committed
fixes HTTP\Client\Response@object() to set a return type of object or null
1 parent 09ca3f2 commit 76d7f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Http/Client/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function json($key = null, $default = null)
8585
/**
8686
* Get the JSON decoded body of the response as an object.
8787
*
88-
* @return object|array
88+
* @return object|null
8989
*/
9090
public function object()
9191
{

0 commit comments

Comments
 (0)