mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
comment
This commit is contained in:
parent
94126cd5e5
commit
332c948ed9
@ -230,6 +230,10 @@ final class ParsedNodesByType
|
||||
return $traits;
|
||||
}
|
||||
|
||||
/**
|
||||
* Guessing the nearest neighboor.
|
||||
* Used e.g. for "XController"
|
||||
*/
|
||||
public function findByShortName(string $shortName): ?Class_
|
||||
{
|
||||
foreach ($this->classes as $className => $classNode) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user