@@ -25,7 +25,7 @@ |
||
| 25 | 25 | preg_match_all('/{(.+?)}/', $endpoint, $matches); |
| 26 | 26 | $placeholders = array_combine($matches['0'], $matches['1']); |
| 27 | 27 | |
| 28 | - array_walk($params, function ($value, $key) use (&$params) { |
|
| 28 | + array_walk($params, function($value, $key) use (&$params) { |
|
| 29 | 29 | $params[$key] = is_array($value) ? json_encode($value) : $value; |
| 30 | 30 | }); |
| 31 | 31 | |