@@ -195,7 +195,7 @@ public function handle(Request $request)
195
195
* @param array|null $data
196
196
* @return $this
197
197
*/
198
- protected function shouldReturnJson (array $ data = null )
198
+ protected function shouldReturnJson (? array $ data = null )
199
199
{
200
200
return $ this ->receiveJson ($ data );
201
201
}
@@ -239,7 +239,7 @@ public function seeJsonEquals(array $data)
239
239
* @param bool $negate
240
240
* @return $this
241
241
*/
242
- public function seeJson (array $ data = null , $ negate = false )
242
+ public function seeJson (? array $ data = null , $ negate = false )
243
243
{
244
244
if (is_null ($ data )) {
245
245
$ decodedResponse = json_decode ($ this ->response ->getContent (), true );
@@ -262,7 +262,7 @@ public function seeJson(array $data = null, $negate = false)
262
262
* @param array|null $data
263
263
* @return $this
264
264
*/
265
- public function dontSeeJson (array $ data = null )
265
+ public function dontSeeJson (? array $ data = null )
266
266
{
267
267
return $ this ->seeJson ($ data , true );
268
268
}
@@ -274,7 +274,7 @@ public function dontSeeJson(array $data = null)
274
274
* @param array|null $responseData
275
275
* @return $this
276
276
*/
277
- public function seeJsonStructure (array $ structure = null , $ responseData = null )
277
+ public function seeJsonStructure (? array $ structure = null , $ responseData = null )
278
278
{
279
279
$ this ->response ->assertJsonStructure ($ structure , $ responseData );
280
280
0 commit comments