diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index 7658b062d982..89e66123089a 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -867,7 +867,6 @@ public function assertJsonValidationErrors($errors, $responseKey = 'errors') * * @param string $key * @param string $responseKey - * * @return $this */ public function assertJsonValidationErrorFor($key, $responseKey = 'errors') diff --git a/tests/Testing/TestResponseTest.php b/tests/Testing/TestResponseTest.php index 151d84cf5a12..32e3d556a329 100644 --- a/tests/Testing/TestResponseTest.php +++ b/tests/Testing/TestResponseTest.php @@ -50,7 +50,8 @@ public function testAssertViewHas() public function testAssertViewHasModel() { - $model = new class extends Model { + $model = new class extends Model + { public function is($model) { return $this == $model;