diff --git a/src/Command/BakeSeedCommand.php b/src/Command/BakeSeedCommand.php index 67ccd871..170ac5fe 100644 --- a/src/Command/BakeSeedCommand.php +++ b/src/Command/BakeSeedCommand.php @@ -101,7 +101,7 @@ public function templateData(Arguments $arguments): array $namespace = $this->_pluginNamespace($this->plugin); } - $table = Inflector::tableize((string)$arguments->getArgumentAt(0)); + $table = Inflector::underscore((string)$arguments->getArgumentAt(0)); if ($arguments->hasOption('table')) { /** @var string $table */ $table = $arguments->getOption('table');