Skip to content

Commit 14abd37

Browse files
authored
Added missing type (#188)
1 parent efacc03 commit 14abd37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/DowngradePhp80/Rector/New_/DowngradeArbitraryExpressionsSupportRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ private function isBetweenParentheses(Node $node): bool
123123
* @param Assign[] $assigns
124124
* @return Node\Stmt[]|null
125125
*/
126-
private function refactorAssign($assigns, Expression $expression): array|null
126+
private function refactorAssign(array $assigns, Expression $expression): array|null
127127
{
128128
foreach ($assigns as $assign) {
129129
if (! $assign->expr instanceof New_ && ! $assign->expr instanceof Instanceof_) {

0 commit comments

Comments
 (0)