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