diff --git a/composer.json b/composer.json index 6d845a9..2bb0e42 100644 --- a/composer.json +++ b/composer.json @@ -20,9 +20,9 @@ }, "require-dev": { "icanhazstring/composer-unused": "^0.7.5", - "infection/infection": "^0.25.0", + "infection/infection": "^0.25", "phpro/grumphp": "^1.0", - "phpstan/phpstan": "^0.12", + "phpstan/phpstan": "^1.0", "phpunit/phpunit": "^8.0 || ^9.0", "roave/infection-static-analysis-plugin": "^1.8", "squizlabs/php_codesniffer": "^3.4", @@ -50,7 +50,7 @@ ], "cs-check": "phpcs src --colors", "cs-fix": "phpcbf src --colors", - "inspect": "phpstan analyse src -l7 --ansi", + "inspect": "phpstan analyse src -l9 --ansi", "test": "phpunit --colors=always", "psalm": "psalm", "infection": "XDEBUG_MODE=coverage roave-infection-static-analysis-plugin" diff --git a/src/Read/Segment.php b/src/Read/Segment.php index da0be1a..1fe6fbc 100644 --- a/src/Read/Segment.php +++ b/src/Read/Segment.php @@ -20,7 +20,7 @@ public function criteria(): array; */ public function match(array $payload): bool; /** - * @return array + * @return array> */ public function toArray(): array; } diff --git a/src/Read/ToggleStrategy.php b/src/Read/ToggleStrategy.php index 436d05f..e181bb0 100644 --- a/src/Read/ToggleStrategy.php +++ b/src/Read/ToggleStrategy.php @@ -12,7 +12,7 @@ public function id(): string; public function type(): string; public function isSatisfiedBy(ConsumerIdentity $identity): bool; /** - * @return array + * @return array */ public function toArray(): array; }