mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 02:36:52 +01:00
Fix code style
As per PR
This commit is contained in:
parent
d40dcfae6b
commit
530eef15ba
@ -26,6 +26,8 @@ final class NodeClassProvider
|
||||
$pathUsedAsStandaloneProject = __DIR__ . '/../../../../vendor/nikic/php-parser/lib/PhpParser/Node';
|
||||
$pathUsedAsDependency = __DIR__ . '/../../../../../../nikic/php-parser/lib/PhpParser/Node';
|
||||
|
||||
return !file_exists($pathUsedAsStandaloneProject) ? $pathUsedAsDependency : $pathUsedAsStandaloneProject;
|
||||
return ! file_exists($pathUsedAsStandaloneProject)
|
||||
? $pathUsedAsDependency
|
||||
: $pathUsedAsStandaloneProject;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user