zarincheg / telegram-bot-dialogs

The extension for Telegram Bot API PHP SDK that allows to implement dialogs in bots
MIT License
40 stars 27 forks source link

Problem with Laravel integration #10

Open zvermafia opened 7 years ago

zvermafia commented 7 years ago
FatalThrowableError in Dialogs.php line 36:
Type error: Argument 2 passed to BotDialogs\Dialogs::__construct() must be an instance of Predis\Client, instance of Illuminate\Redis\RedisManager given, called in /path/to/project/vendor/zarincheg/telegram-bot-dialogs/src/Laravel/DialogsServiceProvider.php on line 31

P.S. You forget about DialogsServiceProvider in documentation...

zarincheg commented 7 years ago

@zvermafia Thank you for the report. It is a bug that happened after refactoring. I'll fix it soon.