@@ -168,6 +168,7 @@ discard block |
||
| 168 | 168 | * Return a class that has a `slugify()` method, used to convert |
| 169 | 169 | * strings into slugs. |
| 170 | 170 | * |
| 171 | + * @param string $attribute |
|
| 171 | 172 | * @return Slugify |
| 172 | 173 | */ |
| 173 | 174 | protected function getSlugEngine($attribute) |
@@ -378,7 +379,7 @@ discard block |
||
| 378 | 379 | /** |
| 379 | 380 | * Determine the version of Laravel (or the Illuminate components) that we are running. |
| 380 | 381 | * |
| 381 | - * @return mixed|string |
|
| 382 | + * @return string |
|
| 382 | 383 | */ |
| 383 | 384 | protected function getApplicationVersion() |
| 384 | 385 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | use Cocur\Slugify\Slugify; |
| 4 | 4 | use Illuminate\Database\Eloquent\Model; |
| 5 | 5 | use Illuminate\Support\Collection; |
| 6 | -use Illuminate\Support\Str; |
|
| 7 | 6 | |
| 8 | 7 | /** |
| 9 | 8 | * Class SlugService |