From 545fa6c7e2b6cf1a802264a4d9ce9d3b6dd1c50f Mon Sep 17 00:00:00 2001
From: Haziyev Tofik <7501864+toxageek@users.noreply.github.com>
Date: Thu, 26 Sep 2024 19:22:39 +0300
Subject: [PATCH] fix: typo in a word 'bindParamer'
---
docs/usage/handlers.mdx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/usage/handlers.mdx b/docs/usage/handlers.mdx
index 80c1adab..7989dd5a 100644
--- a/docs/usage/handlers.mdx
+++ b/docs/usage/handlers.mdx
@@ -884,11 +884,11 @@ $bot->group(function () use (Nutgram $bot) {
## Custom parameters binding
-You can also bind custom parameters to the handler using the `bindParamer` method:
+You can also bind custom parameters to the handler using the `bindParameter` method:
```php
$bot = new Nutgram($_ENV['TOKEN']);
-$bot->bindParamer('hex', function(Container $container, string $value){
+$bot->bindParameter('hex', function(Container $container, string $value){
return Color::fromHex($value);
});
@@ -1409,4 +1409,4 @@ If you need to persist data on disk, be sure to choose an appropriate cache adap
deleteUserData($key, ?int $userId = null)
Returns bool
-
\ No newline at end of file
+