Skip to content

Commit 2fbf134

Browse files
fix import
1 parent 9d2af5b commit 2fbf134

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rules/TypeDeclaration/Rector/ClassMethod/NarrowObjectReturnTypeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ private function isNarrowingValid(string $declaredType, string $actualType): boo
236236
return $declaredObjectType->isSuperTypeOf($actualObjectType)
237237
->yes();
238238
}
239-
239+
240240
private function getActualReturnClass(ClassMethod $classMethod): ?string
241241
{
242242
$returnStatements = $this->betterNodeFinder->findReturnsScoped($classMethod);

src/DependencyInjection/RectorContainerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace Rector\DependencyInjection;
66

7-
use Rector\Config\RectorConfig;
87
use Rector\Autoloading\BootstrapFilesIncluder;
98
use Rector\Caching\Detector\ChangedFilesDetector;
9+
use Rector\Config\RectorConfig;
1010
use Rector\ValueObject\Bootstrap\BootstrapConfigs;
1111

1212
final class RectorContainerFactory

0 commit comments

Comments
 (0)