Completed
Push — master ( bf23bc...4f23d4 )
by Patrick
06:42
created
api/v1/class.UsersAPI.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
         return $response->withJson($users);
53 53
     }
54 54
 
55
+    /**
56
+     * @param boolean $message
57
+     */
55 58
     protected function validateCanCreateUser($proposedUser, $auth, &$message)
56 59
     {
57 60
         $user = $auth->getUsersByFilter(new \Data\Filter('mail eq '.$proposedUser->mail));
@@ -222,6 +225,9 @@  discard block
 block discarded – undo
222 225
         }
223 226
     }
224 227
 
228
+    /**
229
+     * @param Exception $e
230
+     */
225 231
     protected function exceptionCodeToHttpCode($e)
226 232
     {
227 233
         if($e->getCode() === 3)
@@ -368,6 +374,10 @@  discard block
 block discarded – undo
368 374
         return $response->withJson(array('success'=>true));
369 375
     }
370 376
 
377
+    /**
378
+     * @param Data\Filter $filter
379
+     * @param boolean $pending
380
+     */
371 381
     protected function getAllUsersByFilter($filter, &$pending)
372 382
     {
373 383
         $auth = AuthProvider::getInstance();
Please login to merge, or discard this patch.