Skip to content

Commit 9bbeb9a

Browse files
authored
Merge pull request #52 from toxageek/patch-1
fix: typo in a word 'bindParamer'
2 parents ffc0643 + 545fa6c commit 9bbeb9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/usage/handlers.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -884,11 +884,11 @@ $bot->group(function () use (Nutgram $bot) {
884884

885885
## Custom parameters binding
886886

887-
You can also bind custom parameters to the handler using the `bindParamer` method:
887+
You can also bind custom parameters to the handler using the `bindParameter` method:
888888

889889
```php
890890
$bot = new Nutgram($_ENV['TOKEN']);
891-
$bot->bindParamer('hex', function(Container $container, string $value){
891+
$bot->bindParameter('hex', function(Container $container, string $value){
892892
return Color::fromHex($value);
893893
});
894894

@@ -1409,4 +1409,4 @@ If you need to persist data on disk, be sure to choose an appropriate cache adap
14091409
<img style={{verticalAlign: 'middle'}} src="https://img.shields.io/badge/-PER--USER-blue"/>&nbsp;
14101410
<code>deleteUserData($key, ?int $userId = null)</code><br/>
14111411
Returns <code>bool</code>
1412-
</div>
1412+
</div>

0 commit comments

Comments
 (0)