Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppeaege committed Feb 19, 2024
2 parents e12bafc + d0fd37f commit 988ca70
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
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
2 changes: 1 addition & 1 deletion Tests/Unit/Actions/DB/DownloadActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function setUp(): void
parent::setUp();

/* @todo Correctly instantiate tested object to use it. */
$this->downloadAction = new DownloadAction;
$this->downloadAction = new DownloadAction();
}

protected function tearDown(): void
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Database/Factories/SettingFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function setUp(): void
parent::setUp();

/* @todo Correctly instantiate tested object to use it. */
$this->settingFactory = new SettingFactory;
$this->settingFactory = new SettingFactory();
}

protected function tearDown(): void
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Database/Seeders/SettingDatabaseSeederTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function setUp(): void
parent::setUp();

/* @todo Correctly instantiate tested object to use it. */
$this->settingDatabaseSeeder = new SettingDatabaseSeeder;
$this->settingDatabaseSeeder = new SettingDatabaseSeeder();
}

protected function tearDown(): void
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Filament/Pages/BackupMysqlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function setUp(): void
parent::setUp();

/* @todo Correctly instantiate tested object to use it. */
$this->backupMysql = new BackupMysql;
$this->backupMysql = new BackupMysql();
}

protected function tearDown(): void
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Filament/Pages/DashboardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function setUp(): void
parent::setUp();

/* @todo Correctly instantiate tested object to use it. */
$this->dashboard = new Dashboard;
$this->dashboard = new Dashboard();
}

protected function tearDown(): void
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/docs/listeners/GenerateSitemapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ protected function setUp(): void
parent::setUp();

/* @todo Correctly instantiate tested object to use it. */
$this->generateSitemap = new GenerateSitemap;
$this->generateSitemap = new GenerateSitemap();
}

protected function tearDown(): void
Expand Down

0 comments on commit 988ca70

Please sign in to comment.