X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/8d7c8ac8bfe8deba66386e002ec6ae46d5c63013..refs/pull/5721/head:/app/Entities/Tools/SlugGenerator.php diff --git a/app/Entities/Tools/SlugGenerator.php b/app/Entities/Tools/SlugGenerator.php index e715f769f..5df300bb0 100644 --- a/app/Entities/Tools/SlugGenerator.php +++ b/app/Entities/Tools/SlugGenerator.php @@ -2,9 +2,9 @@ namespace BookStack\Entities\Tools; +use BookStack\App\Model; +use BookStack\App\Sluggable; use BookStack\Entities\Models\BookChild; -use BookStack\Interfaces\Sluggable; -use BookStack\Model; use Illuminate\Support\Str; class SlugGenerator @@ -39,6 +39,7 @@ class SlugGenerator /** * Check if a slug is already in-use for this * type of model within the same parent. + * * @param Sluggable&Model $model */ protected function slugInUse(string $slug, Sluggable $model): bool