Skip to content

Commit 66c74dc

Browse files
committed
Remove useless private method
There is only one call to it.
1 parent 9872551 commit 66c74dc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/EventListener/SchemaFilterListener.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ public function __invoke($asset): bool
4040
return $asset !== $this->configurationTableName;
4141
}
4242

43-
private function disable(): void
44-
{
45-
$this->enabled = false;
46-
}
47-
4843
public function onConsoleCommand(ConsoleCommandEvent $event): void
4944
{
5045
$command = $event->getCommand();
@@ -53,6 +48,6 @@ public function onConsoleCommand(ConsoleCommandEvent $event): void
5348
return;
5449
}
5550

56-
$this->disable();
51+
$this->enabled = false;
5752
}
5853
}

0 commit comments

Comments
 (0)