diff --git a/src/Command/BakeSimpleMigrationCommand.php b/src/Command/BakeSimpleMigrationCommand.php index 955b736b..ba891eb3 100644 --- a/src/Command/BakeSimpleMigrationCommand.php +++ b/src/Command/BakeSimpleMigrationCommand.php @@ -79,7 +79,7 @@ public function fileName($name): string /** @psalm-suppress PossiblyNullArgument */ $path = $this->getPath($this->args); $offset = 0; - while (glob($path . $timestamp . '_*\\.php')) { + while (glob($path . $timestamp . '_*.php')) { $timestamp = Util::getCurrentTimestamp(++$offset); }