File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Illuminate/Http/Client Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public function __construct(Dispatcher $dispatcher = null)
119
119
/**
120
120
* Create a new response instance for use during stubbing.
121
121
*
122
- * @param array|string $body
122
+ * @param array|string|null $body
123
123
* @param int $status
124
124
* @param array $headers
125
125
* @return \GuzzleHttp\Promise\PromiseInterface
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ public function __construct(array $responses)
44
44
/**
45
45
* Push a response to the sequence.
46
46
*
47
- * @param string|array $body
47
+ * @param string|array|null $body
48
48
* @param int $status
49
49
* @param array $headers
50
50
* @return $this
51
51
*/
52
- public function push ($ body = '' , int $ status = 200 , array $ headers = [])
52
+ public function push ($ body = null , int $ status = 200 , array $ headers = [])
53
53
{
54
54
$ body = is_array ($ body ) ? json_encode ($ body ) : $ body ;
55
55
You can’t perform that action at this time.
0 commit comments