Completed
Push — d64 ( b18498...be696f )
by Welling
24:39 queued 09:01
created
src/Response/Entry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public function __construct($data)
41 41
     {
42 42
         $this->rawData = $data;
43
-        foreach($data as $field => $value) {
43
+        foreach ($data as $field => $value) {
44 44
             if (isset($value['rows'])) {
45 45
                 $this->data[$field] = new EntryCollection($value);
46 46
             } else if (is_array($value)) {
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             return $this->data[$name];
106 106
         }
107 107
 
108
-        throw new \InvalidArgumentException('Invalid property: ' . $name);
108
+        throw new \InvalidArgumentException('Invalid property: '.$name);
109 109
     }
110 110
 
111 111
     public function __set($name, $value)
Please login to merge, or discard this patch.
src/Response/EntryCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
         $rows = isset($data['rows']) ? $data['rows'] : [];
48 48
         $items = [];
49
-        foreach($rows as $row) {
49
+        foreach ($rows as $row) {
50 50
             $items[] = new Entry($row);
51 51
         }
52 52
 
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/ClientLocal.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -192,6 +192,7 @@  discard block
 block discarded – undo
192 192
 
193 193
     /**
194 194
      * @inheritDoc
195
+     * @param string $tableName
195 196
      */
196 197
     public function createEntry($tableName, array $data)
197 198
     {
@@ -203,6 +204,7 @@  discard block
 block discarded – undo
203 204
 
204 205
     /**
205 206
      * @inheritDoc
207
+     * @param string $tableName
206 208
      */
207 209
     public function updateEntry($tableName, $id, array $data)
208 210
     {
@@ -214,6 +216,7 @@  discard block
 block discarded – undo
214 216
 
215 217
     /**
216 218
      * @inheritDoc
219
+     * @param string $tableName
217 220
      */
218 221
     public function deleteEntry($tableName, $ids)
219 222
     {
Please login to merge, or discard this patch.