Skip to content

Commit 695710b

Browse files
committed
Add lumen compatibility
1 parent edbdd91 commit 695710b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Laravel/PhpTelegramBotServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function boot()
5454
*/
5555
public function register()
5656
{
57-
$this->app->bind(PhpTelegramBotContract::class, static function (Application $app) {
57+
$this->app->bind(PhpTelegramBotContract::class, static function ($app) {
5858
$config = $app['config']->get('phptelegrambot');
5959

6060
$bot = new PhpTelegramBot($config['bot']['api_key'], ! empty($config['bot']['name']) ? $config['bot']['name'] : '');

0 commit comments

Comments
 (0)