Skip to content

Commit 8ade832

Browse files
actions-usersamsonasik
authored andcommitted
[ci-review] Rector Rectify
1 parent 47c3d69 commit 8ade832

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/DeadCode/Rector/FunctionLike/NarrowWideUnionReturnTypeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
use Rector\VersionBonding\Contract\MinPhpVersionInterface;
3636
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
3737
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
38-
use Webmozart\Assert\Assert;
3938

4039
/**
4140
* @see \Rector\Tests\DeadCode\Rector\FunctionLike\NarrowWideUnionReturnTypeRector\NarrowWideUnionReturnTypeRectorTest
@@ -130,6 +129,7 @@ public function refactor(Node $node): ?Node
130129
$returnType = $node->returnType;
131130

132131
$returnType = $this->staticTypeMapper->mapPhpParserNodePHPStanType($returnType);
132+
133133
$actualReturnTypes = $this->collectActualReturnTypes($returnStatements);
134134

135135
if ($hasImplicitNullReturn) {

0 commit comments

Comments
 (0)