diff options
Diffstat (limited to 'lib/public/Collaboration/Collaborators/SearchResultType.php')
-rw-r--r-- | lib/public/Collaboration/Collaborators/SearchResultType.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Collaboration/Collaborators/SearchResultType.php b/lib/public/Collaboration/Collaborators/SearchResultType.php index 3774640cebc..f8a130f1990 100644 --- a/lib/public/Collaboration/Collaborators/SearchResultType.php +++ b/lib/public/Collaboration/Collaborators/SearchResultType.php @@ -61,11 +61,11 @@ class SearchResultType { protected function getValidatedType($type) { $type = trim((string)$type); - if($type === '') { + if ($type === '') { throw new \InvalidArgumentException('Type must not be empty'); } - if($type === 'exact') { + if ($type === 'exact') { throw new \InvalidArgumentException('Provided type is a reserved word'); } |