mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-15 13:25:30 +01:00
Add a comment.
This commit is contained in:
parent
205754067c
commit
8ffce14a64
@ -97,6 +97,7 @@ final class DocBlockNameImporter
|
||||
return $docNode;
|
||||
}
|
||||
|
||||
// Importing root namespace classes (like \DateTime) is optional
|
||||
if (! $shouldImportRootNamespaceClasses && substr_count($staticType->getClassName(), '\\') === 0) {
|
||||
return $docNode;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user