]> BookStack Code Mirror - bookstack/blobdiff - tests/Uploads/UsesImages.php
Add prev and next button to navigate through different pages
[bookstack] / tests / Uploads / UsesImages.php
index b24b483d945ec1e7f510ac621bdd6244fdec49a4..64f26dea8a9be7c847909d0d192a780a2ed25f02 100644 (file)
@@ -1,7 +1,6 @@
 <?php namespace Tests\Uploads;
 
-
-use BookStack\Entities\Page;
+use BookStack\Entities\Models\Page;
 use Illuminate\Http\UploadedFile;
 
 trait UsesImages
@@ -40,11 +39,8 @@ trait UsesImages
 
     /**
      * Get the path for a test image.
-     * @param $type
-     * @param $fileName
-     * @return string
      */
-    protected function getTestImagePath($type, $fileName)
+    protected function getTestImagePath(string $type, string $fileName): string
     {
         return '/uploads/images/' . $type . '/' . Date('Y-m') . '/' . $fileName;
     }