@@ -13,6 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | class Transchoice extends \Twig_Node_Expression |
| 15 | 15 | { |
| 16 | + /** |
|
| 17 | + * @param integer $lineno |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct(\Twig_Node_Expression_Array $arguments, $lineno) |
| 17 | 20 | { |
| 18 | 21 | parent::__construct(['arguments' => $arguments], [], $lineno); |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | - * @return array |
|
| 46 | + * @return \Twig_SimpleFilter[] |
|
| 47 | 47 | */ |
| 48 | 48 | public function getFilters() |
| 49 | 49 | { |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | use Translation\Bundle\Service\CacheClearer; |
| 21 | 21 | use Translation\Bundle\Service\ConfigurationManager; |
| 22 | 22 | use Translation\Bundle\Service\StorageManager; |
| 23 | -use Translation\Bundle\Model\Configuration; |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * @author Tobias Nyholm <[email protected]> |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | private $enabled = true; |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @param $bool |
|
| 32 | + * @param boolean $bool |
|
| 33 | 33 | */ |
| 34 | 34 | public function setEnabled($bool) |
| 35 | 35 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * |
| 57 | 57 | * @param Request $request |
| 58 | 58 | * @param string $locale |
| 59 | - * @param array $validationGroups |
|
| 59 | + * @param string[] $validationGroups |
|
| 60 | 60 | * |
| 61 | 61 | * @return MessageInterface[] |
| 62 | 62 | * |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | /** |
| 229 | 229 | * @param Request $request |
| 230 | 230 | * |
| 231 | - * @return MessageInterface |
|
| 231 | + * @return string |
|
| 232 | 232 | */ |
| 233 | 233 | private function getMessageFromRequest(Request $request) |
| 234 | 234 | { |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | |
| 262 | 262 | /** |
| 263 | 263 | * @param MessageInterface $message |
| 264 | - * @param array $validationGroups |
|
| 264 | + * @param string[] $validationGroups |
|
| 265 | 265 | * |
| 266 | 266 | * @throws MessageValidationException |
| 267 | 267 | */ |