Skip to content

Commit

Permalink
chore: fixes types
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Dec 16, 2024
1 parent bd125f3 commit a94de9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/ergebnis/phpstan-rules/rules.neon
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon

parameters:
Expand Down
1 change: 1 addition & 0 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public function handleArguments(array $arguments): array
private function extractPayload(string $method, string $argument): array
{
try {
// @phpstan-ignore-next-line
return (array) json_decode(str_replace("--{$method}=", '', $argument),
true, 512, JSON_THROW_ON_ERROR);
} catch (\JsonException) {
Expand Down

0 comments on commit a94de9e

Please sign in to comment.