src/Migration/Repository/SqlMigrationRepository.php
public function getMigrations(int $steps): array
    {
        $sql = "select migration from {$this->table} 
                where batch >= 1 
                order by batch, migration desc
                limit ?";

        $stmt = $this->pdo->prepare($sql);
        $stmt->bindParam(1, $steps, PDO::PARAM_INT);
        $stmt->execute();

        return $stmt->fetchAll(PDO::FETCH_COLUMN);
    }
public function getMigrations(int $steps): array
    {
        $sql = "select migration from {$this->table} 
                where batch >= 1 
                order by batch, migration desc
                limit ?";

        $stmt = $this->pdo->prepare($sql);
        $stmt->bindParam(1, $steps, PDO::PARAM_INT);
        $stmt->execute();

        return $stmt->fetchAll(PDO::FETCH_COLUMN);
    }
Get list of migrations.

@param  int $steps
@return array