Completed
Push — master ( a4c187...3ea7be )
by Patrick
08:06
created
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.