src/Neutrino/Database/Migrations/Storage/FileStorage.php
public function getLast()
    {
        $data = $this->getData();

        if(empty($data)){
            return [];
        }

        $lastBatch = $this->getLastBatchNumber();

        $data = array_filter($data, function ($datum) use ($lastBatch) {
            return (int)$datum['batch'] = $lastBatch;
        });

        $migrate_at = array_column($data, 'migration');

        arsort($migrate_at);

        reset($migrate_at);

        return [$data[key($migrate_at)]];
    }
public function getLast()
    {
        $data = $this->getData();

        if(empty($data)){
            return [];
        }

        $lastBatch = $this->getLastBatchNumber();

        $data = array_filter($data, function ($datum) use ($lastBatch) {
            return (int)$datum['batch'] = $lastBatch;
        });

        $migrate_at = array_column($data, 'migration');

        arsort($migrate_at);

        reset($migrate_at);

        return [$data[key($migrate_at)]];
    }
Get the last migration batch.

@return array