- fix deprecation notices in php 8.2

(cherry picked from commit 47972dce05)
This commit is contained in:
maxpozdeev 2023-03-24 19:07:58 +03:00
parent ced75b805a
commit 176b1e9c99

View file

@ -59,7 +59,7 @@ class NotificationObserver implements \MTTNotificationObserverInterface
private function init()
{
$this->prefs = NotificationsExtension::preferences();
$this->token = $this->prefs['token'] ?? '';
//$this->token = $this->prefs['token'] ?? '';
}
}