]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Tools/SlugGenerator.php
Layout: Converted tri-layout component to ts
[bookstack] / app / Entities / Tools / SlugGenerator.php
index e715f769fd5bdbbdac0215ad48b8972b8c7f1e05..5df300bb04c8f14c135979f99d0b325272c78806 100644 (file)
@@ -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