@@ -113,8 +113,8 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -74,7 +74,7 @@ |
||
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 |