diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-10-13 01:40:04 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2018-12-02 22:39:16 +0100 |
commit | 9d9f6d75b94aab51067bdfbe50b58b66d1194f6d (patch) | |
tree | aa0e5743390296441edf09f44f95b3d21f2b5a16 /application/LinkDB.php | |
parent | 067c2dd8f5f6eb6cc808ddc4bd30aec104caf73d (diff) | |
download | Shaarli-9d9f6d75b94aab51067bdfbe50b58b66d1194f6d.tar.gz Shaarli-9d9f6d75b94aab51067bdfbe50b58b66d1194f6d.tar.zst Shaarli-9d9f6d75b94aab51067bdfbe50b58b66d1194f6d.zip |
lint: fix line-length warnings
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application/LinkDB.php')
-rw-r--r-- | application/LinkDB.php | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php index 1f7c28cd..4bbc2950 100644 --- a/application/LinkDB.php +++ b/application/LinkDB.php | |||
@@ -249,11 +249,14 @@ class LinkDB implements Iterator, Countable, ArrayAccess | |||
249 | 'id' => 1, | 249 | 'id' => 1, |
250 | 'title'=> t('The personal, minimalist, super-fast, database free, bookmarking service'), | 250 | 'title'=> t('The personal, minimalist, super-fast, database free, bookmarking service'), |
251 | 'url'=>'https://shaarli.readthedocs.io', | 251 | 'url'=>'https://shaarli.readthedocs.io', |
252 | 'description'=>t('Welcome to Shaarli! This is your first public bookmark. To edit or delete me, you must first login. | 252 | 'description'=>t( |
253 | 'Welcome to Shaarli! This is your first public bookmark. ' | ||
254 | .'To edit or delete me, you must first login. | ||
253 | 255 | ||
254 | To learn how to use Shaarli, consult the link "Documentation" at the bottom of this page. | 256 | To learn how to use Shaarli, consult the link "Documentation" at the bottom of this page. |
255 | 257 | ||
256 | You use the community supported version of the original Shaarli project, by Sebastien Sauvage.'), | 258 | You use the community supported version of the original Shaarli project, by Sebastien Sauvage.' |
259 | ), | ||
257 | 'private'=>0, | 260 | 'private'=>0, |
258 | 'created'=> new DateTime(), | 261 | 'created'=> new DateTime(), |
259 | 'tags'=>'opensource software' | 262 | 'tags'=>'opensource software' |
@@ -419,8 +422,12 @@ You use the community supported version of the original Shaarli project, by Seba | |||
419 | * | 422 | * |
420 | * @return array filtered links, all links if no suitable filter was provided. | 423 | * @return array filtered links, all links if no suitable filter was provided. |
421 | */ | 424 | */ |
422 | public function filterSearch($filterRequest = array(), $casesensitive = false, $visibility = 'all', $untaggedonly = false) | 425 | public function filterSearch( |
423 | { | 426 | $filterRequest = array(), |
427 | $casesensitive = false, | ||
428 | $visibility = 'all', | ||
429 | $untaggedonly = false | ||
430 | ) { | ||
424 | // Filter link database according to parameters. | 431 | // Filter link database according to parameters. |
425 | $searchtags = isset($filterRequest['searchtags']) ? escape($filterRequest['searchtags']) : ''; | 432 | $searchtags = isset($filterRequest['searchtags']) ? escape($filterRequest['searchtags']) : ''; |
426 | $searchterm = isset($filterRequest['searchterm']) ? escape($filterRequest['searchterm']) : ''; | 433 | $searchterm = isset($filterRequest['searchterm']) ? escape($filterRequest['searchterm']) : ''; |