Skip to content

Commit 67928f6

Browse files
authored
Added missing return type (#189)
1 parent 14abd37 commit 67928f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rules/DowngradePhp73/Rector/List_/DowngradeListReferenceAssignmentRector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ public function getNodeTypes(): array
9090

9191
/**
9292
* @param Expression $node
93+
* @return Node[]|null
9394
*/
94-
public function refactor(Node $node)
95+
public function refactor(Node $node): ?array
9596
{
9697
if (! $node->expr instanceof Assign) {
9798
return null;

0 commit comments

Comments
 (0)