Completed
Pull Request — master (#27)
by Eric
06:24
created
src/Skill/EventBroadcaster/ExceptionEvent.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
 namespace Jarvis\Skill\EventBroadcaster;
6 6
 
Please login to merge, or discard this patch.
src/Skill/EventBroadcaster/JarvisEvents.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
 namespace Jarvis\Skill\EventBroadcaster;
6 6
 
Please login to merge, or discard this patch.
src/Skill/EventBroadcaster/ResponseEvent.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
 namespace Jarvis\Skill\EventBroadcaster;
6 6
 
Please login to merge, or discard this patch.
src/Skill/EventBroadcaster/SimpleEvent.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
 namespace Jarvis\Skill\EventBroadcaster;
6 6
 
Please login to merge, or discard this patch.
src/Skill/Routing/Router.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
 namespace Jarvis\Skill\Routing;
6 6
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function addRoute(string $httpMethod, string $route, $handler, string $scope = Jarvis::DEFAULT_SCOPE) : Router
34 34
     {
35
-        $this->rawRoutes[$scope] = $this->rawRoutes[$scope] ?? [];
35
+        $this->rawRoutes[$scope] = $this->rawRoutes[$scope] ? ? [];
36 36
         $this->rawRoutes[$scope][] = [strtolower($httpMethod), $route, $handler];
37 37
         $this->compilationKey = null;
38 38
 
Please login to merge, or discard this patch.