Skip to content

Commit

Permalink
Remove useless private method
Browse files Browse the repository at this point in the history
There is only one call to it.
  • Loading branch information
greg0ire committed Jan 20, 2025
1 parent 7e8b3a9 commit e17a608
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/EventListener/SchemaFilterListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ public function __invoke($asset): bool
return $asset !== $this->configurationTableName;
}

private function enable(): void
{
$this->enabled = true;
}

public function onConsoleCommand(ConsoleCommandEvent $event): void
{
$command = $event->getCommand();
Expand All @@ -54,6 +49,6 @@ public function onConsoleCommand(ConsoleCommandEvent $event): void
return;
}

$this->enable();
$this->enabled = true;
}
}

0 comments on commit e17a608

Please sign in to comment.