This commit is contained in:
27
composer.lock
generated
27
composer.lock
generated
@ -1906,16 +1906,16 @@
|
||||
},
|
||||
{
|
||||
"name": "verifiedjoseph/ntfy-php-library",
|
||||
"version": "v4.2.4",
|
||||
"version": "v4.2.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/VerifiedJoseph/ntfy-php-library.git",
|
||||
"reference": "f0634cd3531722fd927e4c54da39cd089803d06e"
|
||||
"reference": "b22e74cae7f4b74ca9aa8aeeb30466471e1e7308"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/VerifiedJoseph/ntfy-php-library/zipball/f0634cd3531722fd927e4c54da39cd089803d06e",
|
||||
"reference": "f0634cd3531722fd927e4c54da39cd089803d06e",
|
||||
"url": "https://api.github.com/repos/VerifiedJoseph/ntfy-php-library/zipball/b22e74cae7f4b74ca9aa8aeeb30466471e1e7308",
|
||||
"reference": "b22e74cae7f4b74ca9aa8aeeb30466471e1e7308",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -1953,9 +1953,9 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/VerifiedJoseph/ntfy-php-library/issues",
|
||||
"source": "https://github.com/VerifiedJoseph/ntfy-php-library/tree/v4.2.4"
|
||||
"source": "https://github.com/VerifiedJoseph/ntfy-php-library/tree/v4.2.5"
|
||||
},
|
||||
"time": "2023-07-09T17:48:05+00:00"
|
||||
"time": "2023-08-18T14:30:58+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [
|
||||
@ -5155,16 +5155,16 @@
|
||||
},
|
||||
{
|
||||
"name": "vimeo/psalm",
|
||||
"version": "5.14.1",
|
||||
"version": "5.15.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/vimeo/psalm.git",
|
||||
"reference": "b9d355e0829c397b9b3b47d0c0ed042a8a70284d"
|
||||
"reference": "5c774aca4746caf3d239d9c8cadb9f882ca29352"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/vimeo/psalm/zipball/b9d355e0829c397b9b3b47d0c0ed042a8a70284d",
|
||||
"reference": "b9d355e0829c397b9b3b47d0c0ed042a8a70284d",
|
||||
"url": "https://api.github.com/repos/vimeo/psalm/zipball/5c774aca4746caf3d239d9c8cadb9f882ca29352",
|
||||
"reference": "5c774aca4746caf3d239d9c8cadb9f882ca29352",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -5192,6 +5192,9 @@
|
||||
"symfony/console": "^4.1.6 || ^5.0 || ^6.0",
|
||||
"symfony/filesystem": "^5.4 || ^6.0"
|
||||
},
|
||||
"conflict": {
|
||||
"nikic/php-parser": "4.17.0"
|
||||
},
|
||||
"provide": {
|
||||
"psalm/psalm": "self.version"
|
||||
},
|
||||
@ -5255,9 +5258,9 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/vimeo/psalm/issues",
|
||||
"source": "https://github.com/vimeo/psalm/tree/5.14.1"
|
||||
"source": "https://github.com/vimeo/psalm/tree/5.15.0"
|
||||
},
|
||||
"time": "2023-08-01T05:16:55+00:00"
|
||||
"time": "2023-08-20T23:07:30+00:00"
|
||||
},
|
||||
{
|
||||
"name": "webmozart/assert",
|
||||
|
@ -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