Skip to content

Commit f53ac5e

Browse files
nezaboravigithub-actions[bot]
authored andcommitted
Fix styling
1 parent ccb1a72 commit f53ac5e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/SlugGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static function bootSlugGenerator(): void
1212
static::saving(function ($model) {
1313
$field = self::getSluggableField();
1414

15-
if (!in_array($field, array_keys($model->getAttributes()))) {
15+
if (! in_array($field, array_keys($model->getAttributes()))) {
1616
throw new InvalidArgumentException("{$field} does not exist in the model.");
1717
}
1818

src/SlugGeneratorServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace CodingWisely\SlugGenerator;
44

5-
use CodingWisely\SlugGenerator\Commands\SlugGeneratorCommand;
65
use Spatie\LaravelPackageTools\Package;
76
use Spatie\LaravelPackageTools\PackageServiceProvider;
87

0 commit comments

Comments
 (0)