Skip to content

Commit e4c24f9

Browse files
authored
Merge pull request #46926 from cosmastech/fix/http-object-return-type
[9.x] Fix `Response@object()` return type docblock
2 parents 09ca3f2 + 76d7f37 commit e4c24f9

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)