@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | public function shouldTriggerBeFired(Trigger $trigger, array $serverData, $msDelay) |
| 111 | 111 | { |
| 112 | 112 | $this->checkIsComparatorValid(); |
| 113 | - if ( ! $this->notificationMgr->hasNotificationDelayExpired( |
|
| 113 | + if (!$this->notificationMgr->hasNotificationDelayExpired( |
|
| 114 | 114 | $trigger->getId(), |
| 115 | 115 | $serverData['server_id'], |
| 116 | 116 | $msDelay |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | */ |
| 136 | 136 | private function checkIsComparatorValid() |
| 137 | 137 | { |
| 138 | - if ( ! $this->comparator) { |
|
| 138 | + if (!$this->comparator) { |
|
| 139 | 139 | throw new \Exception('Comparator invalid'); |
| 140 | 140 | } |
| 141 | 141 | } |