1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-01 05:24:11 +01:00

Merge pull request #88 from DeepDiver1975/scrutinizer-patch-1

Scrutinizer Auto-Fixes
This commit is contained in:
Thomas Müller 2014-08-19 22:42:16 +02:00
commit 48c417d9a7

View File

@ -28,8 +28,8 @@ class OC_Bookmarks_Bookmarks{
/**
* @brief Finds all tags for bookmarks
* @param filterTags array of tag to look for if empty then every tag
* @param offset result offset
* @param limit number of item to return
* @param offset integer offset
* @param limit integer of item to return
*/
public static function findTags($filterTags = array(), $offset = 0, $limit = 10){
$params = array_merge($filterTags, $filterTags);
@ -71,11 +71,11 @@ class OC_Bookmarks_Bookmarks{
/**
* @brief Finds all bookmarks, matching the filter
* @param offset result offset
* @param sqlSortColumn sort result with this column
* @param offset integer offset
* @param sqlSortColumn string result with this column
* @param filters can be: empty -> no filter, a string -> filter this, a string array -> filter for all strings
* @param filterTagOnly if true, filter affects only tags, else filter affects url, title and tags
* @param limit number of item to return (default 10) if -1 or false then all item are returned
* @param filterTagOnly boolean true, filter affects only tags, else filter affects url, title and tags
* @param limit integer of item to return (default 10) if -1 or false then all item are returned
* @return void
*/
public static function findBookmarks($offset, $sqlSortColumn, $filters, $filterTagOnly, $limit = 10) {