mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-07 06:54:15 +01:00
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/bookmarks/inspections/5e80768c-e393-44b0-b479-30366609e48a Enabled analysis tools: - PHP Analyzer - PHP PDepend - PHP Similarity Analyzer - PHP Change Tracking Analyzer
This commit is contained in:
parent
ae898d510a
commit
7292b4325a
@ -28,8 +28,8 @@ class OC_Bookmarks_Bookmarks{
|
|||||||
/**
|
/**
|
||||||
* @brief Finds all tags for bookmarks
|
* @brief Finds all tags for bookmarks
|
||||||
* @param filterTags array of tag to look for if empty then every tag
|
* @param filterTags array of tag to look for if empty then every tag
|
||||||
* @param offset result offset
|
* @param offset integer offset
|
||||||
* @param limit number of item to return
|
* @param limit integer of item to return
|
||||||
*/
|
*/
|
||||||
public static function findTags($filterTags = array(), $offset = 0, $limit = 10){
|
public static function findTags($filterTags = array(), $offset = 0, $limit = 10){
|
||||||
$params = array_merge($filterTags, $filterTags);
|
$params = array_merge($filterTags, $filterTags);
|
||||||
@ -71,11 +71,11 @@ class OC_Bookmarks_Bookmarks{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Finds all bookmarks, matching the filter
|
* @brief Finds all bookmarks, matching the filter
|
||||||
* @param offset result offset
|
* @param offset integer offset
|
||||||
* @param sqlSortColumn sort result with this column
|
* @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 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 filterTagOnly boolean 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 limit integer of item to return (default 10) if -1 or false then all item are returned
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function findBookmarks($offset, $sqlSortColumn, $filters, $filterTagOnly, $limit = 10) {
|
public static function findBookmarks($offset, $sqlSortColumn, $filters, $filterTagOnly, $limit = 10) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user