This commit is contained in:
@ -7,7 +7,6 @@ namespace App\Notification;
|
||||
use Ntfy\Server;
|
||||
use Ntfy\Message;
|
||||
use Ntfy\Client;
|
||||
use Exception;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class Ntfy implements NotificationInterface
|
||||
@ -28,6 +27,9 @@ class Ntfy implements NotificationInterface
|
||||
return $instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo The constructor should be private but static code analysis complains.
|
||||
*/
|
||||
public function __construct(private Client $client)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user