Completed
Push — d64 ( ecaede...c59ce9 )
by Welling
14:11 queued 05:44
created
src/ClientLocal.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * ClientLocal constructor.
42 42
      *
43
-     * @param $connection
43
+     * @param Connection $connection
44 44
      */
45 45
     public function __construct($connection)
46 46
     {
@@ -194,6 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
     /**
196 196
      * @inheritDoc
197
+     * @param string $tableName
197 198
      */
198 199
     public function createEntry($tableName, array $data)
199 200
     {
@@ -205,6 +206,7 @@  discard block
 block discarded – undo
205 206
 
206 207
     /**
207 208
      * @inheritDoc
209
+     * @param string $tableName
208 210
      */
209 211
     public function updateEntry($tableName, $id, array $data)
210 212
     {
@@ -216,6 +218,7 @@  discard block
 block discarded – undo
216 218
 
217 219
     /**
218 220
      * @inheritDoc
221
+     * @param string $tableName
219 222
      */
220 223
     public function deleteEntry($tableName, $ids)
221 224
     {
Please login to merge, or discard this patch.
src/BaseClientRemote.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -192,6 +192,10 @@
 block discarded – undo
192 192
         return new HTTPClient(array('base_url' => $this->baseEndpoint));
193 193
     }
194 194
 
195
+    /**
196
+     * @param string $method
197
+     * @param string $pathFormat
198
+     */
195 199
     public function performRequest($method, $pathFormat, $variables = [])
196 200
     {
197 201
         $request = $this->buildRequest($method, $pathFormat, $variables);
Please login to merge, or discard this patch.
src/ClientRemote.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -101,16 +101,25 @@
 block discarded – undo
101 101
         return $this->performRequest('GET', static::MESSAGES_USER_ENDPOINT, $userId);
102 102
     }
103 103
 
104
+    /**
105
+     * @param string $tableName
106
+     */
104 107
     public function createEntry($tableName, array $data)
105 108
     {
106 109
         return $this->performRequest('POST', static::TABLE_ENTRY_CREATE_ENDPOINT, $tableName, $data);
107 110
     }
108 111
 
112
+    /**
113
+     * @param string $tableName
114
+     */
109 115
     public function updateEntry($tableName, $id, array $data)
110 116
     {
111 117
         return $this->performRequest('PUT', static::TABLE_ENTRY_UPDATE_ENDPOINT, [$tableName, $id], $data);
112 118
     }
113 119
 
120
+    /**
121
+     * @param string $tableName
122
+     */
114 123
     public function deleteEntry($tableName, $ids)
115 124
     {
116 125
         return $this->performRequest('DELETE', static::TABLE_ENTRY_DELETE_ENDPOINT, [$tableName, $ids]);
Please login to merge, or discard this patch.