Completed
Push — master ( c80ee3...032e4b )
by Patrick
03:06
created
api/v1/aws.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
     $app->post('/test', 'testX');
13 13
 }
14 14
 
15
+/**
16
+ * @param string $function
17
+ */
15 18
 function sendToBackend($function, $payload)
16 19
 {
17 20
     $context = new ZMQContext();
@@ -72,6 +75,9 @@  discard block
 block discarded – undo
72 75
     }
73 76
 }
74 77
 
78
+/**
79
+ * @param string $test
80
+ */
75 81
 function endswith($string, $test)
76 82
 {
77 83
     $strlen = strlen($string);
Please login to merge, or discard this patch.
api/v1/users.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
     }
44 44
 }
45 45
 
46
+/**
47
+ * @param boolean $message
48
+ */
46 49
 function validateCanCreateUser($proposedUser, $auth, &$message)
47 50
 {
48 51
     $user = $auth->getUsersByFilter(new \Data\Filter('mail eq '.$proposedUser->mail));
@@ -98,6 +101,9 @@  discard block
 block discarded – undo
98 101
     echo json_encode($ret);
99 102
 }
100 103
 
104
+/**
105
+ * @param string $uid
106
+ */
101 107
 function getUserByUIDReadOnly($app, $uid)
102 108
 {
103 109
     if($uid === 'me' || $uid === $app->user->getUid())
@@ -117,6 +123,9 @@  discard block
 block discarded – undo
117 123
     return false;
118 124
 }
119 125
 
126
+/**
127
+ * @param string $uid
128
+ */
120 129
 function getUserByUID($app, $uid)
121 130
 {
122 131
     if($uid === 'me' || $uid === $app->user->getUid())
@@ -316,6 +325,10 @@  discard block
 block discarded – undo
316 325
     echo json_encode(array('success'=>true));
317 326
 }
318 327
 
328
+/**
329
+ * @param Data\Filter $filter
330
+ * @param boolean $pending
331
+ */
319 332
 function getAllUsersByFilter($filter, &$pending)
320 333
 {
321 334
     $auth = AuthProvider::getInstance();
Please login to merge, or discard this patch.