Completed
Push — master ( 15a87c...23e1ba )
by Raffael
01:59
created
src/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
Please login to merge, or discard this patch.
src/Http.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
Please login to merge, or discard this patch.
src/Router/Route.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function match(): bool
84 84
     {
85
-        $regex = preg_replace_callback('#({([A-Z0-9a-z]+)\:\#(.+?)\#})|\{(.+?)\}#', function ($match) {
85
+        $regex = preg_replace_callback('#({([A-Z0-9a-z]+)\:\#(.+?)\#})|\{(.+?)\}#', function($match) {
86 86
             if (4 === count($match)) {
87 87
                 return '(?<'.$match[2].'>'.$match[3].'+)';
88 88
             }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     public function setPath(string $path): self
174 174
     {
175
-        $this->path = (string) $path;
175
+        $this->path = (string)$path;
176 176
 
177 177
         return $this;
178 178
     }
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
      */
290 290
     public function continuePropagation($next = true): self
291 291
     {
292
-        $this->continue_propagation = (bool) $next;
292
+        $this->continue_propagation = (bool)$next;
293 293
 
294 294
         return $this;
295 295
     }
Please login to merge, or discard this patch.
src/Router.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     public function setPath(string $path): self
167 167
     {
168 168
         $path = rtrim(trim($path), '/');
169
-        $this->path = (string) $path;
169
+        $this->path = (string)$path;
170 170
 
171 171
         return $this;
172 172
     }
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
             }
339 339
 
340 340
             foreach ($params as $param) {
341
-                $type = (string) $param->getType();
341
+                $type = (string)$param->getType();
342 342
                 $optional = $param->isOptional();
343 343
 
344 344
                 if (isset($request_params[$param->name]) && '' !== $request_params[$param->name]) {
@@ -362,20 +362,20 @@  discard block
 block discarded – undo
362 362
                         if ('false' === $param_value) {
363 363
                             $return[$param->name] = false;
364 364
                         } else {
365
-                            $return[$param->name] = (bool) $param_value;
365
+                            $return[$param->name] = (bool)$param_value;
366 366
                         }
367 367
 
368 368
                     break;
369 369
                     case 'int':
370
-                        $return[$param->name] = (int) $param_value;
370
+                        $return[$param->name] = (int)$param_value;
371 371
 
372 372
                     break;
373 373
                     case 'float':
374
-                        $return[$param->name] = (float) $param_value;
374
+                        $return[$param->name] = (float)$param_value;
375 375
 
376 376
                     break;
377 377
                     case 'array':
378
-                        $return[$param->name] = (array) $param_value;
378
+                        $return[$param->name] = (array)$param_value;
379 379
 
380 380
                     break;
381 381
                     default:
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /**
6 6
  * Micro
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
      */
241 241
     public function setPrettyFormat(bool $format): self
242 242
     {
243
-        $this->pretty_format = (bool) $format;
243
+        $this->pretty_format = (bool)$format;
244 244
 
245 245
         return $this;
246 246
     }
Please login to merge, or discard this patch.