Skip to content

Commit

Permalink
style: apply automated php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi authored and github-actions[bot] committed Nov 30, 2024
1 parent 7793618 commit 193b1de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Commands/SeedDeploymentDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ public function handle(): void
{
if (!config('apiato.seeders.deployment')) {
$this->error('No Deployment Seeder Found, Please Check Your Config File.');

return;
}

if (!class_exists(config('apiato.seeders.deployment'))) {
$this->error('Deployment Seeder Class Not Found.');

return;
}

Expand Down
2 changes: 2 additions & 0 deletions src/Commands/SeedTestingDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ public function handle(): void
{
if (!config('apiato.seeders.testing')) {
$this->error('No Testing Seeder Found, Please Check Your Config File.');

return;
}

if (!class_exists(config('apiato.seeders.testing'))) {
$this->error('Testing Seeder Class Not Found.');

return;
}

Expand Down
3 changes: 2 additions & 1 deletion src/Providers/ApiatoServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public function register(): void
$this->runLoaderRegister();

$this->mergeConfigFrom(
__DIR__ . '/../../config/apiato.php', 'apiato'
__DIR__ . '/../../config/apiato.php',
'apiato',
);
}

Expand Down

0 comments on commit 193b1de

Please sign in to comment.