diff --git a/src/ResponseFactory.php b/src/ResponseFactory.php index 27ea828..b1f34da 100644 --- a/src/ResponseFactory.php +++ b/src/ResponseFactory.php @@ -34,7 +34,7 @@ public function withContext(array $context): void $this->context = $context; } - public function create(object $response): Response + public function create(object $response): IlluminateResponse { $content = $this->serializer->normalize( data: $response, @@ -47,7 +47,7 @@ public function create(object $response): Response ); } - public function fromArray(array $response): Response + public function fromArray(array $response): IlluminateResponse { $content = $this->serializer->normalize( data: $response,