From f446ec83dd9275d592407a65d06496577371f7b5 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 11 Sep 2017 16:46:05 +0200 Subject: minor fixes Signed-off-by: Arthur Schiwon --- lib/private/Collaboration/Collaborators/SearchResult.php | 2 +- lib/public/Collaboration/Collaborators/SearchResultType.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/private/Collaboration/Collaborators/SearchResult.php b/lib/private/Collaboration/Collaborators/SearchResult.php index 9c9503ea945..7b32b388203 100644 --- a/lib/private/Collaboration/Collaborators/SearchResult.php +++ b/lib/private/Collaboration/Collaborators/SearchResult.php @@ -79,7 +79,7 @@ class SearchResult implements ISearchResult { public function unsetResult(SearchResultType $type) { $type = $type->getLabel(); $this->result[$type] = []; - if(isset($this->$result['exact'][$type])) { + if(isset($this->result['exact'][$type])) { $this->result['exact'][$type] = []; } } diff --git a/lib/public/Collaboration/Collaborators/SearchResultType.php b/lib/public/Collaboration/Collaborators/SearchResultType.php index 65d20cd67f4..e4ad888d6e4 100644 --- a/lib/public/Collaboration/Collaborators/SearchResultType.php +++ b/lib/public/Collaboration/Collaborators/SearchResultType.php @@ -55,6 +55,7 @@ class SearchResultType { * @param $type * @return string * @throws \InvalidArgumentException + * @since 13.0.0 */ protected function getValidatedType($type) { $type = trim(strval($type)); -- cgit v1.2.3