aboutsummaryrefslogtreecommitdiff
path: root/cli/CliOptionsParser.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-05-15 08:57:58 +0200
committerGravatar GitHub <noreply@github.com> 2024-05-15 08:57:58 +0200
commit2d17c020b6695d47debda065804db4e2d2f92e55 (patch)
tree4e03d16b1f59eabe347b8a89a7f375646269e13a /cli/CliOptionsParser.php
parentf958eaef2f733553132c4880f9e2e56003476545 (diff)
PHPStan 1.11 + minor update dev dependencies (#6459)
* PHPStan 1.11 + minor update dev dependencies https://github.com/phpstan/phpstan/releases/tag/1.11.0 * Comment style
Diffstat (limited to 'cli/CliOptionsParser.php')
-rw-r--r--cli/CliOptionsParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/CliOptionsParser.php b/cli/CliOptionsParser.php
index be325bd91..1a0967b53 100644
--- a/cli/CliOptionsParser.php
+++ b/cli/CliOptionsParser.php
@@ -101,7 +101,7 @@ abstract class CliOptionsParser {
}
if (!empty($typedValues)) {
- // @phpstan-ignore-next-line (change to `@phpstan-ignore property.dynamicName` when upgrading to PHPStan 1.11+)
+ // @phpstan-ignore property.dynamicName
$this->$name = $types['isArray'] ? $typedValues : array_pop($typedValues);
}
}