mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: rename WatchList to Watchlist
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace App\Service;
|
||||
|
||||
use App\Config\WebhookScheme;
|
||||
use App\Entity\WatchList;
|
||||
use App\Entity\Watchlist;
|
||||
use App\Exception\UnsupportedDsnSchemeException;
|
||||
use App\Notifier\DomainWatchdogNotification;
|
||||
use Symfony\Component\Notifier\Exception\TransportExceptionInterface;
|
||||
@@ -21,9 +21,9 @@ readonly class ChatNotificationService
|
||||
* @throws UnsupportedDsnSchemeException
|
||||
* @throws TransportExceptionInterface
|
||||
*/
|
||||
public function sendChatNotification(WatchList $watchList, DomainWatchdogNotification $notification): void
|
||||
public function sendChatNotification(Watchlist $watchlist, DomainWatchdogNotification $notification): void
|
||||
{
|
||||
$webhookDsn = $watchList->getWebhookDsn();
|
||||
$webhookDsn = $watchlist->getWebhookDsn();
|
||||
|
||||
if (empty($webhookDsn)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user