Completed
Pull Request — master (#5)
by
unknown
04:49
created
src/Api/AirtableApiClient.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -160,6 +160,9 @@  discard block
 block discarded – undo
160 160
         return $body;
161 161
     }
162 162
 
163
+    /**
164
+     * @param \Psr\Http\Message\ResponseInterface $response
165
+     */
163 166
     public function jsonToObject($response)
164 167
     {
165 168
         $body = (string) $response->getBody();
@@ -173,6 +176,9 @@  discard block
 block discarded – undo
173 176
         return isset($object->records) ? collect($object->records) : $object;
174 177
     }
175 178
 
179
+    /**
180
+     * @param \Psr\Http\Message\ResponseInterface $response
181
+     */
176 182
     public function jsonToArray($response)
177 183
     {
178 184
         $body = (string) $response->getBody();
Please login to merge, or discard this patch.