Skip to content

Commit 08c41db

Browse files
committed
[ci-review] Rector Rectify
1 parent f31c5ce commit 08c41db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/TypeDeclaration/Rector/StmtsAwareInterface/DeclareStrictTypesRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function getNodeTypes(): array
118118
/**
119119
* @param StmtsAwareInterface $node
120120
*/
121-
public function refactor(Node $node): ?int
121+
public function refactor(Node $node): int
122122
{
123123
// workaround, as Rector now only hooks to specific nodes, not arrays
124124
// avoid traversing, as we already handled in beforeTraverse()

0 commit comments

Comments
 (0)