summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-10-25 11:18:05 +0200
committerJoas Schilling <coding@schilljs.com>2017-10-25 11:21:05 +0200
commit43b92b8e06a7dbf0c70ee9433eae050227af6419 (patch)
treed4311b5b48bca19517790ab25fa28e7b93ce2050 /lib/private
parent42c84b630946b9cd691e86bf7ad9aadcdc625e98 (diff)
downloadnextcloud-server-43b92b8e06a7dbf0c70ee9433eae050227af6419.tar.gz
nextcloud-server-43b92b8e06a7dbf0c70ee9433eae050227af6419.zip
Add unit tests for SearchResult
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Collaboration/Collaborators/SearchResult.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Collaborators/SearchResult.php b/lib/private/Collaboration/Collaborators/SearchResult.php
index 1ab61e257f0..184c1f69a1b 100644
--- a/lib/private/Collaboration/Collaborators/SearchResult.php
+++ b/lib/private/Collaboration/Collaborators/SearchResult.php
@@ -52,7 +52,7 @@ class SearchResult implements ISearchResult {
$this->exactIdMatches[$type->getLabel()] = 1;
}
- public function hasExactIdMatch(SearchResultType$type) {
+ public function hasExactIdMatch(SearchResultType $type) {
return isset($this->exactIdMatches[$type->getLabel()]);
}