This commit is contained in:
@ -28,6 +28,7 @@ class Notification
|
||||
*
|
||||
* @param string $key Notification class
|
||||
* @param string[] $config Implementation specific configuration
|
||||
* @SuppressWarnings(PHPMD)
|
||||
*/
|
||||
public function loadSingle(string $key, array $config): void
|
||||
{
|
||||
@ -35,7 +36,7 @@ class Notification
|
||||
case 'ntfy':
|
||||
case 'Ntfy':
|
||||
case 'NTFY':
|
||||
$this->notifiers[] = new Ntfy($config);
|
||||
$this->notifiers[] = Ntfy::factory($config);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user