mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -42,7 +42,7 @@ class NotificationChannel extends AbstractModel
|
||||
|
||||
public function provider(): \App\NotificationChannels\NotificationChannel
|
||||
{
|
||||
$class = config('core.notification_channels_providers_class')[$this->provider];
|
||||
$class = config('notification-channel.providers.'.$this->provider.'.handler');
|
||||
|
||||
/** @var \App\NotificationChannels\NotificationChannel $provider */
|
||||
$provider = new $class($this);
|
||||
|
Reference in New Issue
Block a user