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]; diff --git a/docs/config.php b/docs/config.php index a86fe511..0b736580 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) {