| @@ -15,7 +15,6 @@ | ||
| 15 | 15 | /** | 
| 16 | 16 | * define supported types. | 
| 17 | 17 | * | 
| 18 | - * @param array $types supported types (text, media, date) | |
| 19 | 18 | **/ | 
| 20 | 19 | public function __construct($data) | 
| 21 | 20 |      { | 
| @@ -41,7 +41,7 @@ | ||
| 41 | 41 | /** | 
| 42 | 42 | * Get SubscribedEvents. | 
| 43 | 43 | * | 
| 44 | - * @return array | |
| 44 | + * @return string[] | |
| 45 | 45 | */ | 
| 46 | 46 | public function getSubscribedEvents() | 
| 47 | 47 |      { | 
| @@ -36,7 +36,7 @@ | ||
| 36 | 36 | * | 
| 37 | 37 | * @param Event $event | 
| 38 | 38 | * | 
| 39 | - * @return Ambigous <\Knp\Menu\ItemInterface, NULL> | |
| 39 | + * @return \Knp\Menu\ItemInterface <\Knp\Menu\ItemInterface, NULL> | |
| 40 | 40 | */ | 
| 41 | 41 | public function addGlobal(Event $event) | 
| 42 | 42 |      { | 
| @@ -432,7 +432,7 @@ | ||
| 432 | 432 | /** | 
| 433 | 433 | * Set image. | 
| 434 | 434 | * | 
| 435 | - * @param string|Media $image | |
| 435 | + * @param Media $image | |
| 436 | 436 | * | 
| 437 | 437 | * @return $this | 
| 438 | 438 | */ | 
| @@ -19,7 +19,6 @@ | ||
| 19 | 19 | /** | 
| 20 | 20 | * add a view Manager. | 
| 21 | 21 | * | 
| 22 | - * @param DataTransformerInterface $viewManager | |
| 23 | 22 | * @param string $viewNamespace | 
| 24 | 23 | */ | 
| 25 | 24 | public function addTransformer(DataTransformerInterface $transformer, $viewNamespace, $outputFormat) | 
| @@ -24,7 +24,7 @@ | ||
| 24 | 24 | /** | 
| 25 | 25 | * compute the viewReference relative to a View + entity. | 
| 26 | 26 | * | 
| 27 | - * @param WebViewInterface $view | |
| 27 | + * @param View $view | |
| 28 | 28 | * | 
| 29 | 29 | * @return ViewReference | 
| 30 | 30 | */ | 
| @@ -19,7 +19,6 @@ | ||
| 19 | 19 | * SimpleXMLElement to ViewReference | 
| 20 | 20 |       * {@inheritdoc} | 
| 21 | 21 | * | 
| 22 | - * @param \SimpleXMLElement $xml | |
| 23 | 22 | * | 
| 24 | 23 | * @return ViewReference | 
| 25 | 24 | */ | 
| @@ -48,7 +48,7 @@ | ||
| 48 | 48 | /** | 
| 49 | 49 | * register twig functions. | 
| 50 | 50 | * | 
| 51 | - * @return array The list of extensions | |
| 51 | + * @return \Twig_SimpleFunction[] The list of extensions | |
| 52 | 52 | */ | 
| 53 | 53 | public function getFunctions() | 
| 54 | 54 |      { | 
| @@ -242,6 +242,7 @@ | ||
| 242 | 242 | * Get the bundle name from an Entity namespace. | 
| 243 | 243 | * | 
| 244 | 244 | * @param string $entityNamespace | 
| 245 | + * @param \Symfony\Component\HttpKernel\Bundle\BundleInterface[] $bundles | |
| 245 | 246 | * | 
| 246 | 247 | * @return string | 
| 247 | 248 | * |