Skip to content

Commit

Permalink
Add missing "since" tags to UserSearch class
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Apr 3, 2018
1 parent c59a9d1 commit e1733da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/public/Util/UserSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class UserSearch {
* UserSearch constructor.
*
* @param IConfig $config
* @since 10.0.8
*/
public function __construct(IConfig $config) {
$this->config = $config;
Expand All @@ -51,6 +52,7 @@ public function __construct(IConfig $config) {
/**
* @param string $pattern
* @return bool
* @since 10.0.8
*/
public function isSearchable($pattern) {
$trimmed = trim($pattern);
Expand All @@ -61,6 +63,7 @@ public function isSearchable($pattern) {
* Get minimal allowed size to search users
*
* @return mixed
* @since 10.0.8
*/
public function getSearchMinLength() {
return $this->config->getSystemValue('user.search_min_length', 4);
Expand Down

0 comments on commit e1733da

Please sign in to comment.