We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61bb3d0 commit fdbfa02Copy full SHA for fdbfa02
lib/Notifications/ExAppNotifier.php
@@ -36,7 +36,7 @@ public function getName(): string {
36
}
37
38
public function prepare(INotification $notification, string $languageCode): INotification {
39
- if (count($this->service->getExAppsList()) === 0) {
+ if (empty($this->service->getExAppsList())) {
40
throw new UnknownNotificationException();
41
42
$exApp = $this->service->getExApp($notification->getApp());
0 commit comments