diff --git a/Filament/Pages/BackupMysql.php b/Filament/Pages/BackupMysql.php index 1f27c925..15313bad 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 => 'mysql' === $item['driver']); + $connections = array_filter($connections, fn ($item): bool => $item['driver'] === 'mysql'); // $connections=collect($connections)->keyBy('database'); return ['connections' => $connections]; diff --git a/docs/config.php b/docs/config.php index 0b736580..a86fe511 100644 --- a/docs/config.php +++ b/docs/config.php @@ -15,7 +15,7 @@ 'docsearchIndexName' => env('DOCSEARCH_INDEX'), // navigation menu - 'navigation' => require_once ('navigation.php'), + 'navigation' => require_once('navigation.php'), // helpers 'isActive' => function ($page, $path) {