]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Tools/TrashCan.php
Applied StyleCI changes, added php/larastan to attribution
[bookstack] / app / Entities / Tools / TrashCan.php
index 82569278e121915f546960a70a5dbc1faf44488a..8327c948931b5567e80fc3d6ca5728c82533fa87 100644 (file)
@@ -323,6 +323,8 @@ class TrashCan
         if ($entity instanceof Bookshelf) {
             return $this->destroyShelf($entity);
         }
+
+        return 0;
     }
 
     /**