Completed
Push — master ( a726c1...adea8c )
by Eric
9s
created
src/Skill/Routing/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $this->router = $router;
25 25
     }
26 26
 
27
-    public function name(): ?string
27
+    public function name(): ? string
28 28
     {
29 29
         return $this->name;
30 30
     }
Please login to merge, or discard this patch.
src/Skill/EventBroadcaster/ExceptionEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         return $this->exception;
25 25
     }
26 26
 
27
-    public function response(): ?Response
27
+    public function response(): ? Response
28 28
     {
29 29
         return $this->response;
30 30
     }
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
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         return $this->exception;
25 25
     }
26 26
 
27
-    public function response(): ?Response
27
+    public function response(): ? Response
28 28
     {
29 29
         return $this->response;
30 30
     }
Please login to merge, or discard this patch.
src/Jarvis.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -163,6 +163,7 @@
 block discarded – undo
163 163
 
164 164
     /**
165 165
      * {@inheritdoc}
166
+     * @param \Closure $receiver
166 167
      */
167 168
     public function on(string $eventName, $receiver, int $priority = BroadcasterInterface::RECEIVER_NORMAL_PRIORITY)
168 169
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 use Jarvis\Skill\DependencyInjection\ContainerProvider;
10 10
 use Jarvis\Skill\DependencyInjection\ContainerProviderInterface;
11 11
 use Jarvis\Skill\EventBroadcaster\AnalyzeEvent;
12
-use Jarvis\Skill\EventBroadcaster\ControllerEvent;
13 12
 use Jarvis\Skill\EventBroadcaster\BroadcasterInterface;
13
+use Jarvis\Skill\EventBroadcaster\ControllerEvent;
14 14
 use Jarvis\Skill\EventBroadcaster\EventInterface;
15 15
 use Jarvis\Skill\EventBroadcaster\ExceptionEvent;
16 16
 use Jarvis\Skill\EventBroadcaster\PermanentEventInterface;
Please login to merge, or discard this patch.
src/Skill/DependencyInjection/ContainerProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Jarvis\Skill\Core\ScopeManager;
10 10
 use Jarvis\Skill\EventBroadcaster\BroadcasterInterface;
11 11
 use Jarvis\Skill\EventBroadcaster\ExceptionEvent;
12
-use Jarvis\Skill\EventBroadcaster\JarvisEvents;
13 12
 use Jarvis\Skill\Routing\Router;
14 13
 use Symfony\Component\HttpFoundation\Request;
15 14
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.