]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Tools/BookSortMap.php
ZIP Exports: Built out initial import view
[bookstack] / app / Entities / Tools / BookSortMap.php
index 1ce4905f7bad6431704ee8d4511ead4001140dc2..ff1ec767f784458e58c867f4a845acd8efdfdbf5 100644 (file)
@@ -24,7 +24,7 @@ class BookSortMap
 
     public static function fromJson(string $json): self
     {
-        $map = new static();
+        $map = new BookSortMap();
         $mapData = json_decode($json);
 
         foreach ($mapData as $mapDataItem) {
@@ -41,5 +41,4 @@ class BookSortMap
 
         return $map;
     }
-
-}
\ No newline at end of file
+}