]> BookStack Code Mirror - bookstack/blobdiff - app/Actions/ActivityService.php
Add the "Create Shelf" resp. "Create Book" to the home view
[bookstack] / app / Actions / ActivityService.php
index d092a35c2d2452f40f78638d960cd71e3a85d690..f56f1ca57e03c304c4f4fdcd7201293afe45f8ba 100644 (file)
@@ -1,6 +1,7 @@
 <?php namespace BookStack\Actions;
 
 use BookStack\Auth\Permissions\PermissionService;
+use BookStack\Entities\Book;
 use BookStack\Entities\Entity;
 
 class ActivityService
@@ -68,7 +69,7 @@ class ActivityService
      * Removes the entity attachment from each of its activities
      * and instead uses the 'extra' field with the entities name.
      * Used when an entity is deleted.
-     * @param Entity $entity
+     * @param \BookStack\Entities\Entity $entity
      * @return mixed
      */
     public function removeEntity(Entity $entity)
@@ -106,7 +107,7 @@ class ActivityService
     /**
      * Gets the latest activity for an entity, Filtering out similar
      * items to prevent a message activity list.
-     * @param Entity $entity
+     * @param \BookStack\Entities\Entity $entity
      * @param int $count
      * @param int $page
      * @return array