@@ -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 | * |
@@ -106,6 +106,10 @@ |
||
| 106 | 106 | * depending of the children parents and positions |
| 107 | 107 | * @param WidgetMap $currentWidgetMap |
| 108 | 108 | */ |
| 109 | + |
|
| 110 | + /** |
|
| 111 | + * @param View $view |
|
| 112 | + */ |
|
| 109 | 113 | protected function orderizeWidgetMap($currentWidgetMap, $builtWidgetMap, $slot, $widgetMaps, $view){ |
| 110 | 114 | $children = $currentWidgetMap->getChildren($view); |
| 111 | 115 | foreach ($children as $child) { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * Constructor. |
| 23 | 23 | * |
| 24 | - * @param SecurityContext $authorizationChecker |
|
| 24 | + * @param AuthorizationChecker $authorizationChecker |
|
| 25 | 25 | * @param TwigEngine $twig |
| 26 | 26 | * @param bool $debug The debug variable environment |
| 27 | 27 | * @param TemplateMapper $templating The victoire templating |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param array $options |
|
| 41 | 40 | */ |
| 42 | 41 | public function add($key, $value) |
| 43 | 42 | { |
@@ -86,6 +86,9 @@ |
||
| 86 | 86 | ); |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | + /** |
|
| 90 | + * @param Widget $widget |
|
| 91 | + */ |
|
| 89 | 92 | private function generateHash($widget) |
| 90 | 93 | { |
| 91 | 94 | return sprintf('%s-%s-%s-%s', |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * WidgetCache constructor. |
| 23 | 23 | * |
| 24 | - * @param Client $cache |
|
| 24 | + * @param WidgetCache $cache |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct(WidgetCache $cache) |
| 27 | 27 | { |
@@ -29,7 +29,6 @@ discard block |
||
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @param Widget $widget |
|
| 33 | 32 | * |
| 34 | 33 | * @return string |
| 35 | 34 | */ |
@@ -22,7 +22,6 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * Construct. |
| 24 | 24 | * |
| 25 | - * @param EngineInterface $templating |
|
| 26 | 25 | * @param $victoireTwigResponsive |
| 27 | 26 | * @param $kernelRootDir |
| 28 | 27 | * |
@@ -39,7 +38,7 @@ discard block |
||
| 39 | 38 | /** |
| 40 | 39 | * Update css by removing old file and writing new file. |
| 41 | 40 | * |
| 42 | - * @param $oldHash |
|
| 41 | + * @param string $oldHash |
|
| 43 | 42 | * @param View $view |
| 44 | 43 | * @param array $widgets |
| 45 | 44 | */ |
@@ -169,7 +168,7 @@ discard block |
||
| 169 | 168 | * Write css file. |
| 170 | 169 | * |
| 171 | 170 | * @param $view |
| 172 | - * @param $css |
|
| 171 | + * @param string $css |
|
| 173 | 172 | */ |
| 174 | 173 | private function writeCssFile(View $view, $css) |
| 175 | 174 | { |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | * |
| 106 | 106 | * @param $linkType |
| 107 | 107 | * @param $locale |
| 108 | - * @param FormBuilderInterface|FormInterface $form |
|
| 108 | + * @param FormInterface $form |
|
| 109 | 109 | * @param FormBuilderInterface $builder |
| 110 | 110 | */ |
| 111 | 111 | protected function manageLinkTypeRelatedFields($linkType, $locale, $form, FormBuilderInterface $builder) |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @param [] $tree |
|
| 62 | + * @param WebViewInterface[] $tree |
|
| 63 | 63 | */ |
| 64 | 64 | public function buildViewReferenceRecursively($tree, EntityManager $entityManager) |
| 65 | 65 | { |