Skip to content

Commit 2063b9a

Browse files
committed
fix to delete method
1 parent 64f7b3f commit 2063b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ protected function put($method, $fields) {
165165
* @param $fields
166166
* @return array|mixed
167167
*/
168-
protected function delete($method, $fields) {
168+
protected function delete($method, $fields = []) {
169169
$body = \json_encode($fields, JSON_PRETTY_PRINT);
170170

171171
try {

0 commit comments

Comments
 (0)