Skip to content

Commit 74bc369

Browse files
Muqsitondrejmirtes
authored andcommitted
PHPDoc: address multiple variables defined in one @param
1 parent df00074 commit 74bc369

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

issue-bot/src/Playground/TabCreator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TabCreator
1515
{
1616

1717
/**
18-
* @param array<int, list<PlaygroundError>> $versionedErrors $versionedErrors
18+
* @param array<int, list<PlaygroundError>> $versionedErrors
1919
* @return list<PlaygroundResultTab>
2020
*/
2121
public function create(array $versionedErrors): array

src/Rules/Classes/InstantiationRule.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private function checkClassName(string $class, bool $isName, Node $node, Scope $
222222
}
223223

224224
/**
225-
* @param Node\Expr\New_ $node $node
225+
* @param Node\Expr\New_ $node
226226
* @return array<int, array{string, bool}>
227227
*/
228228
private function getClassNames(Node $node, Scope $scope): array

tests/PHPStan/Analyser/data/array-filter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function withoutAnyArgs(): void
1111
}
1212

1313
/**
14-
* @param $var1 $mixed
14+
* @param mixed $var1
1515
*/
1616
function withMixedInsteadOfArray($var1): void
1717
{

0 commit comments

Comments
 (0)