laravel-notification-channels / twilio

Twilio notifications channel for Laravel

Home Page:https://laravel-notification-channels.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Config file not passing to class

wazimshizm opened this issue · comments

commented

Argument 1 passed to NotificationChannels\Twilio\TwilioConfig::__construct() must be of the type array, null given, called in \vendor\laravel-notification-channels\twilio\src\TwilioProvider.php on line 33

Stack trace shows this is the point of failure
$this->app->bind(TwilioConfig::class, function () { return new TwilioConfig($this->app['config']['twilio-notification-channel']); });

I did run php artisan vendor:publish --provider="NotificationChannels\Twilio\TwilioProvider" and fill out the .env variables.

Is there something I'm missing?