We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edbdd91 commit 695710bCopy full SHA for 695710b
src/Laravel/PhpTelegramBotServiceProvider.php
@@ -54,7 +54,7 @@ public function boot()
54
*/
55
public function register()
56
{
57
- $this->app->bind(PhpTelegramBotContract::class, static function (Application $app) {
+ $this->app->bind(PhpTelegramBotContract::class, static function ($app) {
58
$config = $app['config']->get('phptelegrambot');
59
60
$bot = new PhpTelegramBot($config['bot']['api_key'], ! empty($config['bot']['name']) ? $config['bot']['name'] : '');
0 commit comments