Skip to content

Commit 041af25

Browse files
freekmurzegithub-actions[bot]
authored andcommitted
Fix styling
1 parent ddfb38d commit 041af25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/HasSlug.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Illuminate\Database\Eloquent\Model;
66
use Illuminate\Support\Str;
77
use Spatie\Sluggable\Exceptions\InvalidOption;
8-
use Spatie\Sluggable\Tests\TestSupport\TranslatableModel;
98

109
trait HasSlug
1110
{
@@ -193,7 +192,7 @@ protected function generateSubstring($slugSourceString)
193192

194193
public static function findBySlug(string $slug, array $columns = ['*'])
195194
{
196-
$modelInstance = new static;
195+
$modelInstance = new static();
197196
$field = $modelInstance->getSlugOptions()->slugField;
198197

199198
$field = in_array(HasTranslatableSlug::class, class_uses_recursive(static::class))

0 commit comments

Comments
 (0)