Skip to content

Commit

Permalink
Check & fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
marco76tv authored and github-actions[bot] committed Apr 28, 2024
1 parent 7f4fa12 commit 9d6ebf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Filament/Pages/BackupMysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 9d6ebf6

Please sign in to comment.