@@ -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); |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | final class LegacyEventDispatcherDecorator |
| 27 | 27 | { |
| 28 | + /** |
|
| 29 | + * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher |
|
| 30 | + */ |
|
| 28 | 31 | public static function decorate(?ContractsEventDispatcherInterface $dispatcher): ?ContractsEventDispatcherInterface |
| 29 | 32 | { |
| 30 | 33 | if (null === $dispatcher) { |