diff --git a/Filament/Pages/BackupMysql.php b/Filament/Pages/BackupMysql.php index 15313bad..1f27c925 100644 --- a/Filament/Pages/BackupMysql.php +++ b/Filament/Pages/BackupMysql.php @@ -28,7 +28,7 @@ protected function getViewData(): array { Assert::isArray($connections = config('database.connections')); - $connections = array_filter($connections, fn ($item): bool => $item['driver'] === 'mysql'); + $connections = array_filter($connections, fn ($item): bool => 'mysql' === $item['driver']); // $connections=collect($connections)->keyBy('database'); return ['connections' => $connections];