Completed
Push — master ( ff6361...375f0f )
by Matthew
04:31
created
src/Controller/Endpoint/Alerts/AlertCountsEndpointController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,11 +208,11 @@
 block discarded – undo
208 208
         foreach ($this->getConfigItem('factions') as $faction) {
209 209
             $factionAbv = strtoupper($faction);
210 210
             $sql .= "SUM(CASE WHEN `ResultWinner`='{$factionAbv}' ";
211
-            if (! empty($server)) {
211
+            if (!empty($server)) {
212 212
                 $sql .= "AND `ResultServer` IN ({$server}) ";
213 213
             }
214 214
 
215
-            if (! empty($zones)) {
215
+            if (!empty($zones)) {
216 216
                 $sql .= "AND `ResultAlertCont` IN ({$zones}) ";
217 217
             }
218 218
 
Please login to merge, or discard this patch.
src/Controller/Endpoint/Alerts/AlertEndpointController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,11 +93,11 @@
 block discarded – undo
93 93
         $limit    = (int) $request->get('limit');
94 94
 
95 95
         // Set defaults if not supplied
96
-        if ($offset === null || ! is_numeric($offset)) {
96
+        if ($offset === null || !is_numeric($offset)) {
97 97
             $offset = 0;
98 98
         }
99 99
 
100
-        if ($limit === null || ! is_numeric($limit)) {
100
+        if ($limit === null || !is_numeric($limit)) {
101 101
             $limit = 25;
102 102
         }
103 103
 
Please login to merge, or discard this patch.