Commit a27612e3 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

[Fix] problème en cas de non définition du répertoire de fichiers de migrations

parent 128101d6
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/Migration/MigrationManager.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ class MigrationManager
    {
        $migrationDir = $this->getMigrationDir();

        if (!is_dir($migrationDir)) return;
        if (!is_dir($migrationDir ?? '')) return;
        $files = scandir($migrationDir);
        sort($files);