Completed
Pull Request — master (#39)
by Eric
02:17
created
src/Jarvis.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -113,8 +113,8 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @param  Request|null $request
117
-     * @return Response
116
+     * @param  null|\Symfony\Component\HttpFoundation\Request $request
117
+     * @return \Symfony\Component\HttpFoundation\Response
118 118
      */
119 119
     public function analyze(Request $request = null) : Response
120 120
     {
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
     /**
160 160
      * @param  string  $eventName
161
-     * @param  mixed   $receiver
161
+     * @param  \Closure   $receiver
162 162
      * @param  integer $priority
163 163
      * @return self
164 164
      */
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
     /**
182 182
      * @param  string              $eventName
183
-     * @param  EventInterface|null $event
183
+     * @param  null|Skill\EventBroadcaster\EventInterface $event
184 184
      * @return self
185 185
      */
186 186
     public function broadcast(string $eventName, EventInterface $event = null) : Jarvis
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     }
208 208
 
209 209
     /**
210
-     * @param  ContainerProviderInterface $provider
210
+     * @param  Skill\DependencyInjection\ContainerProviderInterface $provider
211 211
      * @return self
212 212
      */
213 213
     public function hydrate(ContainerProviderInterface $provider) : Jarvis
Please login to merge, or discard this patch.
src/Skill/EventBroadcaster/ResponseEvent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * @codeCoverageIgnore
25 25
      *
26
-     * @return Request
26
+     * @return \Symfony\Component\HttpFoundation\Request
27 27
      */
28 28
     public function request() : Request
29 29
     {
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * @codeCoverageIgnore
35 35
      *
36
-     * @return Response
36
+     * @return \Symfony\Component\HttpFoundation\Response
37 37
      */
38 38
     public function response() : Response
39 39
     {
Please login to merge, or discard this patch.
src/Skill/Routing/Router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
             $value = (string) $value;
76 76
             $pieces = explode(':', $matches[1]);
77
-            if (1 < count($pieces) && 1 !== preg_match('~' . $pieces[1] . '~', $value)) {
77
+            if (1 < count($pieces) && 1 !== preg_match('~'.$pieces[1].'~', $value)) {
78 78
                 continue;
79 79
             }
80 80
 
Please login to merge, or discard this patch.
src/Skill/EventBroadcaster/AnalyzeEvent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Creates an instance of AnalyzeEvent.
16 16
      *
17
-     * @param Request $request
17
+     * @param \Symfony\Component\HttpFoundation\Request $request
18 18
      */
19 19
     public function __construct(Request $request)
20 20
     {
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * @codeCoverageIgnore
26 26
      *
27
-     * @param  Response $response
27
+     * @param  \Symfony\Component\HttpFoundation\Response $response
28 28
      * @return self
29 29
      */
30 30
     public function setResponse(Response $response) : AnalyzeEvent
Please login to merge, or discard this patch.