Completed
Pull Request — develop (#58)
by Patrick
05:01 queued 03:01
created
api/v1/class.GroupsAPI.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
49 49
         return $response->withJson($groups);
50 50
     }
51 51
 
52
+    /**
53
+     * @param boolean $directOnly
54
+     */
52 55
     private function expandGroupMembers($group, $odata, $directOnly)
53 56
     {
54 57
         if($odata->expand !== false && in_array('member', $odata->expand))
Please login to merge, or discard this patch.
api/v1/class.UsersAPI.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@  discard block
 block discarded – undo
54 54
         return $response->withJson($users);
55 55
     }
56 56
 
57
+    /**
58
+     * @param boolean $message
59
+     */
57 60
     protected function validateCanCreateUser($proposedUser, $auth, &$message)
58 61
     {
59 62
         $user = $auth->getUsersByFilter(new \Data\Filter('mail eq '.$proposedUser['mail']));
@@ -224,6 +227,9 @@  discard block
 block discarded – undo
224 227
         }
225 228
     }
226 229
 
230
+    /**
231
+     * @param Exception $e
232
+     */
227 233
     protected function exceptionCodeToHttpCode($e)
228 234
     {
229 235
         if($e->getCode() === 3)
@@ -370,6 +376,10 @@  discard block
 block discarded – undo
370 376
         return $response->withJson(array('success'=>true));
371 377
     }
372 378
 
379
+    /**
380
+     * @param Data\Filter $filter
381
+     * @param boolean $pending
382
+     */
373 383
     protected function getAllUsersByFilter($filter, &$pending)
374 384
     {
375 385
         $auth = AuthProvider::getInstance();
Please login to merge, or discard this patch.