]> BookStack Code Mirror - bookstack/blobdiff - app/Repos/BookRepo.php
Revamped image system to use driver-agnotstic storage and be more efficent
[bookstack] / app / Repos / BookRepo.php
index 110426bbdd3d79bf1c955b5b24897c0349654ba5..469fdb31d053a5beec221d91fd6dc50c20850a4e 100644 (file)
@@ -77,6 +77,12 @@ class BookRepo
         return Views::getUserRecentlyViewed($count, $page, $this->book);
     }
 
+    /**
+     * Gets the most viewed books.
+     * @param int $count
+     * @param int $page
+     * @return mixed
+     */
     public function getPopular($count = 10, $page = 0)
     {
         return Views::getPopular($count, $page, $this->book);