Skip to content

Commit bd32014

Browse files
freekmurzegithub-actions[bot]
authored andcommitted
Fix styling
1 parent c3e7f7f commit bd32014

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/SlugOptions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class SlugOptions
1010
/** @var callable */
1111
public $extraScopeCallback;
1212

13-
/** @var (callable(string $slug, int $iteration): string)|null */
13+
/** @var (callable(string, int): string)|null */
1414
public $suffixGenerator;
1515

1616
public string $slugField;

tests/HasSlugTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public function getSlugOptions(): SlugOptions
354354
public function getSlugOptions(): SlugOptions
355355
{
356356
return parent::getSlugOptions()->usingSuffixGenerator(
357-
fn(string $slug, int $iteration) => 'random-with-access-base-slug-(' . $slug[0] . '_' . $iteration . ')'
357+
fn (string $slug, int $iteration) => 'random-with-access-base-slug-(' . $slug[0] . '_' . $iteration . ')'
358358
);
359359
}
360360
};

0 commit comments

Comments
 (0)