Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 20, 2025
1 parent 11fef3f commit a3e18a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Commands/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function handle(): int
if ($compactName === '' || filled($compactName) || $this->confirm('Should create a compact exception?')) {
$compactName = $compactName ?: $this->ask('What should be its name?');
if (blank($compactName)) {
throw new \Exception('The name of the compact exception can not be empty.');
throw new \Exception('The name of the compact exception can not be empty.');
}
}
if ($compactName) {
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Relation.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class_basename(MorphToRequest::class),
HasManyRequest::class,
])
) {
throw new \Exception('The {related-name} parameter should not be empty when going to create a many-to-many relationship.');
throw new \Exception('The {related-name} parameter should not be empty when going to create a many-to-many relationship.');
}

if (in_array(
Expand Down

0 comments on commit a3e18a7

Please sign in to comment.