Config file not passing to class
wazimshizm opened this issue · comments
Peter 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?