Skip to content

Commit 9730515

Browse files
committed
Fix spell
1 parent e3d1148 commit 9730515

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ echo $response->mail;
2525
// mail@example.com
2626
```
2727

28-
How to call endpoint
29-
POST /rooms/{room_id}/messages
28+
How to call endpoint ( POST /rooms/{room_id}/messages )
3029

3130
```php
3231
$client->request('POST', 'rooms/123456789/messages', ['body' => 'Hello']);

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ protected function requestOptions($method, array $params)
194194
if ($method == 'GET') {
195195
$options['query'] = $params;
196196
} else {
197-
$options['form_paramss'] = $params;
197+
$options['form_params'] = $params;
198198
}
199199

200200
return $options;

0 commit comments

Comments
 (0)