@@ -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 | * |
@@ -236,6 +236,7 @@ |
||
| 236 | 236 | * @param string $namespace the namespace |
| 237 | 237 | * @param string $formMode the form mode |
| 238 | 238 | * @param int $position |
| 239 | + * @param string $slotId |
|
| 239 | 240 | * |
| 240 | 241 | * @throws \Exception |
| 241 | 242 | * |
@@ -369,7 +369,7 @@ |
||
| 369 | 369 | /** |
| 370 | 370 | * Add widget. |
| 371 | 371 | * |
| 372 | - * @param Widget $widgetMap |
|
| 372 | + * @param WidgetMap $widgetMap |
|
| 373 | 373 | */ |
| 374 | 374 | public function addWidgetMap(WidgetMap $widgetMap) |
| 375 | 375 | { |
@@ -112,6 +112,9 @@ |
||
| 112 | 112 | return $this->id; |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | + /** |
|
| 116 | + * @param null|integer $id |
|
| 117 | + */ |
|
| 115 | 118 | public function setId($id) |
| 116 | 119 | { |
| 117 | 120 | $this->id = $id; |
@@ -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 | */ |