Skip to content

Commit

Permalink
fix: phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
romantmb committed Jul 11, 2024
1 parent 515dfc9 commit 5c66ade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
parameters:
checkMissingIterableValueType: false
ignoreErrors:
- '#Cannot call method scalarNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null\.#'
- '#Cannot call method (scalar|boolean)Node\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null\.#'
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,6 @@ private function getDbConfigNode(): array

public function isDryRun(): bool
{
return $this->getValue(['parameters', 'dryRun']);
return (bool) $this->getValue(['parameters', 'dryRun']);
}
}

0 comments on commit 5c66ade

Please sign in to comment.