Skip to content

Commit 07bcd81

Browse files
committed
[ci-review] Rector Rectify
1 parent 8b31def commit 07bcd81

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/PostRector/Collector/UseNodesToAddCollector.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ public function getObjectImportsByFilePath(): array
203203
if (! $fileNode instanceof FileNode) {
204204
return [];
205205
}
206+
206207
return $fileNode->getPendingImports()
207208
->getUseImports();
208209
}
@@ -223,6 +224,7 @@ public function getConstantImportsByFilePath(): array
223224
if (! $fileNode instanceof FileNode) {
224225
return [];
225226
}
227+
226228
return $fileNode->getPendingImports()
227229
->getConstantImports();
228230
}
@@ -243,6 +245,7 @@ public function getFunctionImportsByFilePath(): array
243245
if (! $fileNode instanceof FileNode) {
244246
return [];
245247
}
248+
246249
return $fileNode->getPendingImports()
247250
->getFunctionImports();
248251
}

0 commit comments

Comments
 (0)