@@ -192,6 +192,11 @@ |
||
192 | 192 | return $id; |
193 | 193 | } |
194 | 194 | |
195 | + /** |
|
196 | + * @param string $id |
|
197 | + * @param integer $number |
|
198 | + * @param string $domain |
|
199 | + */ |
|
195 | 200 | public function transChoice($id, $number, array $parameters = [], $domain = null, $locale = null) |
196 | 201 | { |
197 | 202 | $this->addMessage($id, $domain); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | final class LegacyEventDispatcherDecorator |
28 | 28 | { |
29 | 29 | /** |
30 | - * @param ContractsEventDispatcherInterface|EventDispatcherInterface|null $dispatcher |
|
30 | + * @param EventDispatcherInterface $dispatcher |
|
31 | 31 | * |
32 | 32 | * @return ContractsEventDispatcherInterface|EventDispatcherInterface|null |
33 | 33 | */ |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Symfony\Component\EventDispatcher\Event; |
18 | 18 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
19 | 19 | use Symfony\Contracts\EventDispatcher\Event as ContractsEvent; |
20 | -use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; |
|
21 | 20 | use Symfony\Contracts\EventDispatcher\EventDispatcherInterface as ContractsEventDispatcherInterface; |
22 | 21 | |
23 | 22 | /** |