From f120505170878b08d11e04dd76a541d54b73461c Mon Sep 17 00:00:00 2001 From: Edinei Valdameri Date: Tue, 4 Jun 2024 16:29:58 -0300 Subject: [PATCH] Static analysis --- phpstan.neon.dist | 1 - src/Http/Controllers/FetchAnythingController.php | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 082aa70..e204d3a 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -7,4 +7,3 @@ parameters: tmpDir: .build/phpstan checkOctaneCompatibility: true checkModelProperties: true - checkMissingIterableValueType: false diff --git a/src/Http/Controllers/FetchAnythingController.php b/src/Http/Controllers/FetchAnythingController.php index 319413d..fb4c453 100644 --- a/src/Http/Controllers/FetchAnythingController.php +++ b/src/Http/Controllers/FetchAnythingController.php @@ -9,6 +9,9 @@ class FetchAnythingController { + /** + * @return Collection + */ public function __invoke(string $type): Collection { /** @var Collection $anything */