Completed
Pull Request — master (#5585)
by Lukas
14:35
created
lib/private/Contacts/ContactsMenu/ContactsStore.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 		if ($excludedGroups) {
100 100
 			$excludedGroups = $this->config->getAppValue('core', 'shareapi_exclude_groups_list', '');
101 101
 			$decodedExcludeGroups = json_decode($excludedGroups, true);
102
-			$excludeGroupsList = !is_null($decodedExcludeGroups) ? $decodedExcludeGroups :  [];
102
+			$excludeGroupsList = !is_null($decodedExcludeGroups) ? $decodedExcludeGroups : [];
103 103
 
104 104
 			if (count(array_intersect($excludeGroupsList, $selfGroups)) !== 0) {
105 105
 				// a group of the current user is excluded -> filter all local users
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	 * @return IEntry|null
137 137
 	 */
138 138
 	public function findOne(IUser $user, $shareType, $shareWith) {
139
-		switch($shareType) {
139
+		switch ($shareType) {
140 140
 			case 0:
141 141
 			case 6:
142 142
 				$filter = ['UID'];
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 	/**
64 64
 	 * @param IUser $user
65 65
 	 * @param string|null $filter
66
-	 * @return IEntry[]
66
+	 * @return Entry[]
67 67
 	 */
68 68
 	public function getContacts(IUser $user, $filter) {
69 69
 		$allContacts = $this->contactsManager->search($filter ?: '', [
Please login to merge, or discard this patch.