mirror of
https://github.com/rectorphp/rector.git
synced 2024-07-01 07:03:32 +00:00
over zero
This commit is contained in:
parent
5e08ebc29a
commit
3758719d27
|
@ -26,7 +26,7 @@ final class RectorGuard
|
||||||
|
|
||||||
public function ensureSomeRectorsAreRegistered(): void
|
public function ensureSomeRectorsAreRegistered(): void
|
||||||
{
|
{
|
||||||
if ($this->rectorNodeTraverser->getRectorCount() > 0 || $this->yamlFileProcessor->getYamlRectorsCount() > 0) {
|
if ($this->rectorNodeTraverser->getRectorCount() || $this->yamlFileProcessor->getYamlRectorsCount()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user