Completed
Pull Request — master (#6328)
by Blizzz
13:57
created
lib/public/Collaboration/Collaborators/ISearchPlugin.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@
 block discarded – undo
30 30
  * @since 13.0.0
31 31
  */
32 32
 interface ISearchPlugin {
33
-	/**
34
-	 * @param string $search
35
-	 * @param int $limit
36
-	 * @param int $offset
37
-	 * @param ISearchResult $searchResult
38
-	 * @return bool whether the plugin has more results
39
-	 * @since 13.0.0
40
-	 */
41
-	public function search($search, $limit, $offset, ISearchResult $searchResult);
33
+    /**
34
+     * @param string $search
35
+     * @param int $limit
36
+     * @param int $offset
37
+     * @param ISearchResult $searchResult
38
+     * @return bool whether the plugin has more results
39
+     * @since 13.0.0
40
+     */
41
+    public function search($search, $limit, $offset, ISearchResult $searchResult);
42 42
 }
Please login to merge, or discard this patch.
lib/public/Collaboration/Collaborators/ISearchResult.php 1 patch
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -30,44 +30,44 @@
 block discarded – undo
30 30
  * @since 13.0.0
31 31
  */
32 32
 interface ISearchResult {
33
-	/**
34
-	 * @param string $type one of: users, groups, remotes, email, circles, lookup
35
-	 * @param array $matches
36
-	 * @param array|null $exactMatches
37
-	 * @since 13.0.0
38
-	 */
39
-	public function addResultSet($type, array $matches, array $exactMatches = null);
33
+    /**
34
+     * @param string $type one of: users, groups, remotes, email, circles, lookup
35
+     * @param array $matches
36
+     * @param array|null $exactMatches
37
+     * @since 13.0.0
38
+     */
39
+    public function addResultSet($type, array $matches, array $exactMatches = null);
40 40
 
41
-	/**
42
-	 * @param string $type one of: users, groups, remotes, email, circles, lookup
43
-	 * @param string $collaboratorId
44
-	 * @return bool
45
-	 * @since 13.0.0
46
-	 */
47
-	public function hasResult($type, $collaboratorId);
41
+    /**
42
+     * @param string $type one of: users, groups, remotes, email, circles, lookup
43
+     * @param string $collaboratorId
44
+     * @return bool
45
+     * @since 13.0.0
46
+     */
47
+    public function hasResult($type, $collaboratorId);
48 48
 
49
-	/**
50
-	 * @param string $type one of: users, groups, remotes, email, circles, lookup
51
-	 * @since 13.0.0
52
-	 */
53
-	public function unsetResult($type);
49
+    /**
50
+     * @param string $type one of: users, groups, remotes, email, circles, lookup
51
+     * @since 13.0.0
52
+     */
53
+    public function unsetResult($type);
54 54
 
55
-	/**
56
-	 * @param string $type one of: users, groups, remotes, email, circles, lookup
57
-	 * @since 13.0.0
58
-	 */
59
-	public function markExactIdMatch($type);
55
+    /**
56
+     * @param string $type one of: users, groups, remotes, email, circles, lookup
57
+     * @since 13.0.0
58
+     */
59
+    public function markExactIdMatch($type);
60 60
 
61
-	/**
62
-	 * @param string $type one of: users, groups, remotes, email, circles, lookup
63
-	 * @return bool
64
-	 * @since 13.0.0
65
-	 */
66
-	public function hasExactIdMatch($type);
61
+    /**
62
+     * @param string $type one of: users, groups, remotes, email, circles, lookup
63
+     * @return bool
64
+     * @since 13.0.0
65
+     */
66
+    public function hasExactIdMatch($type);
67 67
 
68
-	/**
69
-	 * @return array
70
-	 * @since 13.0.0
71
-	 */
72
-	public function asArray();
68
+    /**
69
+     * @return array
70
+     * @since 13.0.0
71
+     */
72
+    public function asArray();
73 73
 }
Please login to merge, or discard this patch.
lib/public/Collaboration/Collaborators/ISearch.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -30,14 +30,14 @@
 block discarded – undo
30 30
  * @since 13.0.0
31 31
  */
32 32
 interface ISearch {
33
-	/**
34
-	 * @param string $search
35
-	 * @param array $shareTypes
36
-	 * @param bool $lookup
37
-	 * @param int $limit
38
-	 * @param int $offset
39
-	 * @return array with two elements, 1st ISearchResult as array, 2nd a bool indicating whether more result are available
40
-	 * @since 13.0.0
41
-	 */
42
-	public function search($search, array $shareTypes, $lookup, $limit, $offset);
33
+    /**
34
+     * @param string $search
35
+     * @param array $shareTypes
36
+     * @param bool $lookup
37
+     * @param int $limit
38
+     * @param int $offset
39
+     * @return array with two elements, 1st ISearchResult as array, 2nd a bool indicating whether more result are available
40
+     * @since 13.0.0
41
+     */
42
+    public function search($search, array $shareTypes, $lookup, $limit, $offset);
43 43
 }
Please login to merge, or discard this patch.