Completed
Push — master ( 9e1617...cfcc0d )
by Ma
02:15
created
src/Monitor/Format/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     public function getService($className)
8 8
     {
9 9
         $className = __NAMESPACE__.'\\'.$className;
10
-        if (! class_exists($className)) {
10
+        if (!class_exists($className)) {
11 11
             throw new \Exception($className.' Service class not found');
12 12
         }
13 13
         return new $className;
Please login to merge, or discard this patch.
src/Monitor/Notification/NotificationMgr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
             );
97 97
         $query = $queryBuilder->getQuery();
98 98
         $queryResult = $query->getResult();
99
-        if (! $queryResult) {
99
+        if (!$queryResult) {
100 100
             return true;
101 101
         }
102 102
         $timeOfLastFiredUpTrigger = $queryResult[0]['created'];
Please login to merge, or discard this patch.
src/Monitor/Notification/Trigger/TriggerMgr.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     private function checkIsComparatorValid()
93 93
     {
94
-        if (! $this->comparator) {
94
+        if (!$this->comparator) {
95 95
             throw new \Exception('Comparator invalid');
96 96
         }
97 97
     }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     private function fireTrigger(Trigger $trigger, array $serverData, $msDelay)
108 108
     {
109
-        if (! $this->notificationMgr->hasNotificationDelayExpired(
109
+        if (!$this->notificationMgr->hasNotificationDelayExpired(
110 110
             $trigger->getId(),
111 111
             $serverData['server_id'],
112 112
             $msDelay
Please login to merge, or discard this patch.