diff --git a/issue-bot/src/Playground/TabCreator.php b/issue-bot/src/Playground/TabCreator.php index a74da457a..544fcb146 100644 --- a/issue-bot/src/Playground/TabCreator.php +++ b/issue-bot/src/Playground/TabCreator.php @@ -15,7 +15,7 @@ class TabCreator { /** - * @param array> $versionedErrors $versionedErrors + * @param array> $versionedErrors * @return list */ public function create(array $versionedErrors): array diff --git a/src/Rules/Classes/InstantiationRule.php b/src/Rules/Classes/InstantiationRule.php index d70cf9569..7e31e5adc 100644 --- a/src/Rules/Classes/InstantiationRule.php +++ b/src/Rules/Classes/InstantiationRule.php @@ -222,7 +222,7 @@ private function checkClassName(string $class, bool $isName, Node $node, Scope $ } /** - * @param Node\Expr\New_ $node $node + * @param Node\Expr\New_ $node * @return array */ private function getClassNames(Node $node, Scope $scope): array diff --git a/tests/PHPStan/Analyser/data/array-filter.php b/tests/PHPStan/Analyser/data/array-filter.php index def7caf58..ad12ea6db 100644 --- a/tests/PHPStan/Analyser/data/array-filter.php +++ b/tests/PHPStan/Analyser/data/array-filter.php @@ -11,7 +11,7 @@ function withoutAnyArgs(): void } /** - * @param $var1 $mixed + * @param mixed $var1 */ function withMixedInsteadOfArray($var1): void {