Completed
Push — master ( e849b9...fa53d4 )
by Matthew
02:01
created
src/Controller/Endpoint/Alerts/AlertEndpointController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,11 +103,11 @@  discard block
 block discarded – undo
103 103
         $limit    = (int) $_GET['limit'];
104 104
 
105 105
         // Set defaults if not supplied
106
-        if (empty($offset) || ! is_numeric($offset)) {
106
+        if (empty($offset) || !is_numeric($offset)) {
107 107
             $offset = 0;
108 108
         }
109 109
 
110
-        if (empty($limit) || ! is_numeric($limit)) {
110
+        if (empty($limit) || !is_numeric($limit)) {
111 111
             $limit = 50;
112 112
         }
113 113
 
@@ -173,11 +173,11 @@  discard block
 block discarded – undo
173 173
         $limit  = (int) $_GET['limit'];
174 174
 
175 175
         // Set defaults if not supplied
176
-        if (empty($offset) || ! is_numeric($offset)) {
176
+        if (empty($offset) || !is_numeric($offset)) {
177 177
             $offset = 0;
178 178
         }
179 179
 
180
-        if (empty($limit) || ! is_numeric($limit)) {
180
+        if (empty($limit) || !is_numeric($limit)) {
181 181
             $limit = 50;
182 182
         }
183 183
 
Please login to merge, or discard this patch.
public/index.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-include __DIR__ . '/../vendor/autoload.php';
3
+include __DIR__.'/../vendor/autoload.php';
4 4
 
5 5
 use League\Route\Http\Exception\NotFoundException;
6 6
 
7 7
 // ENV loading
8 8
 josegonzalez\Dotenv\Loader::load([
9
-    'filepath' => __DIR__ . '/../.env',
9
+    'filepath' => __DIR__.'/../.env',
10 10
     'toEnv'    => true
11 11
 ]);
12 12
 
@@ -21,10 +21,10 @@  discard block
 block discarded – undo
21 21
 }
22 22
 
23 23
 // Container
24
-$container = include __DIR__ . '/../src/container.php';
24
+$container = include __DIR__.'/../src/container.php';
25 25
 
26 26
 // Routes
27
-$router = include __DIR__ . '/../src/routes.php';
27
+$router = include __DIR__.'/../src/routes.php';
28 28
 
29 29
 // FIRE!!!
30 30
 try {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 } catch (\Exception $e) {
45 45
     $response = $container->get('Zend\Diactoros\Response');
46 46
     $response->getBody()->write(
47
-        'An error occured! ' . $e->getMessage()
47
+        'An error occured! '.$e->getMessage()
48 48
     );
49 49
 
50 50
     $logger = $container->get('Monolog\Logger');
Please login to merge, or discard this patch.