diff --git a/tests/ApiProblemBuilderTest.php b/tests/ApiProblemBuilderTest.php index 4c8ec8b..559cc88 100644 --- a/tests/ApiProblemBuilderTest.php +++ b/tests/ApiProblemBuilderTest.php @@ -40,7 +40,7 @@ public function buildFromRendererTest(): void self::assertEquals($expected, json_decode($actual->getContent(), true)); } - public function dataSetsToBuildFromException(): array + public static function dataSetsToBuildFromException(): array { return [ 'path not found, no apiResponseTypes' => [ diff --git a/tests/Middleware/RequestValidationTest.php b/tests/Middleware/RequestValidationTest.php index 1076e02..ac31c38 100644 --- a/tests/Middleware/RequestValidationTest.php +++ b/tests/Middleware/RequestValidationTest.php @@ -44,7 +44,7 @@ public function registersResultInstanceInContainer(): void $sut->handle(Request::create($url), fn($var) => new Response()); } - public function dataSetsThatThrowCannotProcessRequest(): array + public static function dataSetsThatThrowCannotProcessRequest(): array { return [ 'path not found' => [ diff --git a/tests/Middleware/ResponseJsonFlatTest.php b/tests/Middleware/ResponseJsonFlatTest.php index 7e96c11..67ceb6f 100644 --- a/tests/Middleware/ResponseJsonFlatTest.php +++ b/tests/Middleware/ResponseJsonFlatTest.php @@ -21,7 +21,7 @@ */ class ResponseJsonFlatTest extends TestCase { - public function dataSetsToHandle(): array + public static function dataSetsToHandle(): array { return [ 'valid results return valid responses' => [ diff --git a/tests/Middleware/ResponseJsonNestedTest.php b/tests/Middleware/ResponseJsonNestedTest.php index 3348f87..7ee52c1 100644 --- a/tests/Middleware/ResponseJsonNestedTest.php +++ b/tests/Middleware/ResponseJsonNestedTest.php @@ -21,7 +21,7 @@ */ class ResponseJsonNestedTest extends TestCase { - public function dataSetsToHandle(): array + public static function dataSetsToHandle(): array { return [ 'valid results return valid responses' => [