We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 033af75 commit 55d9960Copy full SHA for 55d9960
1 file changed
dHttp/Client.php
@@ -174,7 +174,7 @@ public function addOptions(array $params)
174
* @param array $options
175
* @return Response
176
*/
177
- public function post($fields = [], array $options = [])
+ public function post(array $fields = [], array $options = [])
178
{
179
return $this->get($options + [
180
CURLOPT_POST => true,
@@ -189,7 +189,7 @@ public function post($fields = [], array $options = [])
189
190
191
192
- public function put($fields = [], array $options = [])
+ public function put(array $fields = [], array $options = [])
193
194
195
CURLOPT_CUSTOMREQUEST => 'PUT',
0 commit comments