@@ -609,7 +609,7 @@ discard block |
||
| 609 | 609 | /** |
| 610 | 610 | * Add widget. |
| 611 | 611 | * |
| 612 | - * @param Widget $widgetMap |
|
| 612 | + * @param WidgetMap $widgetMap |
|
| 613 | 613 | */ |
| 614 | 614 | public function addWidgetMap(WidgetMap $widgetMap) |
| 615 | 615 | { |
@@ -861,7 +861,7 @@ discard block |
||
| 861 | 861 | } |
| 862 | 862 | |
| 863 | 863 | /** |
| 864 | - * @return ViewTranslation[] |
|
| 864 | + * @return ArrayCollection |
|
| 865 | 865 | */ |
| 866 | 866 | public function getTranslations() |
| 867 | 867 | { |
@@ -869,7 +869,7 @@ discard block |
||
| 869 | 869 | } |
| 870 | 870 | |
| 871 | 871 | /** |
| 872 | - * @return ViewTranslation[] |
|
| 872 | + * @return string |
|
| 873 | 873 | */ |
| 874 | 874 | public function getTranslationClass() |
| 875 | 875 | { |
@@ -118,9 +118,10 @@ discard block |
||
| 118 | 118 | * |
| 119 | 119 | * @param string $slot |
| 120 | 120 | * @param View $view |
| 121 | - * @param Widget $widget |
|
| 121 | + * @param Widget $widgets |
|
| 122 | 122 | * @param BusinessEntity[] $classes |
| 123 | 123 | * @param int $position |
| 124 | + * @param \Victoire\Bundle\WidgetBundle\Model\Widget $activeWidget |
|
| 124 | 125 | * |
| 125 | 126 | * @throws \Exception |
| 126 | 127 | * |
@@ -275,6 +276,7 @@ discard block |
||
| 275 | 276 | * @param string $namespace the namespace |
| 276 | 277 | * @param string $formMode the form mode |
| 277 | 278 | * @param int $position |
| 279 | + * @param string $slotId |
|
| 278 | 280 | * |
| 279 | 281 | * @throws \Exception |
| 280 | 282 | * |
@@ -359,7 +359,7 @@ |
||
| 359 | 359 | /** |
| 360 | 360 | * Set widgets. |
| 361 | 361 | * |
| 362 | - * @param [WidgetMap] $widgetMaps |
|
| 362 | + * @param [WidgetMap] $widgetMap |
|
| 363 | 363 | * |
| 364 | 364 | * @return Widget |
| 365 | 365 | */ |
@@ -120,6 +120,9 @@ discard block |
||
| 120 | 120 | return $this->id; |
| 121 | 121 | } |
| 122 | 122 | |
| 123 | + /** |
|
| 124 | + * @param null|integer $id |
|
| 125 | + */ |
|
| 123 | 126 | public function setId($id) |
| 124 | 127 | { |
| 125 | 128 | $this->id = $id; |
@@ -224,7 +227,7 @@ discard block |
||
| 224 | 227 | } |
| 225 | 228 | |
| 226 | 229 | /** |
| 227 | - * @param mixed $replaced |
|
| 230 | + * @param WidgetMap $replaced |
|
| 228 | 231 | */ |
| 229 | 232 | public function setReplaced($replaced) |
| 230 | 233 | { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * @param Widget $widget |
| 20 | 20 | * @param View $view |
| 21 | 21 | * |
| 22 | - * @return WidgetMap|WidgetMapNotFoundException |
|
| 22 | + * @return WidgetMap |
|
| 23 | 23 | */ |
| 24 | 24 | public static function getWidgetMapByWidgetAndView(Widget $widget, View $view) |
| 25 | 25 | { |
@@ -171,8 +171,8 @@ |
||
| 171 | 171 | * @param View $view |
| 172 | 172 | * @param $beforeChild |
| 173 | 173 | * @param $afterChild |
| 174 | - * @param $originalParent |
|
| 175 | - * @param $originalPosition |
|
| 174 | + * @param WidgetMap|null $originalParent |
|
| 175 | + * @param string $originalPosition |
|
| 176 | 176 | */ |
| 177 | 177 | public function moveChildren(View $view, $beforeChild, $afterChild, $originalParent, $originalPosition) |
| 178 | 178 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * This method should only be used in ajax calls. |
| 30 | 30 | * |
| 31 | - * @param Form $form The form to parse |
|
| 31 | + * @param \Symfony\Component\Form\Form $form The form to parse |
|
| 32 | 32 | * @param bool $withChildren Do we parse the embedded forms |
| 33 | 33 | * |
| 34 | 34 | * @return string A string representation of all errors |
@@ -301,7 +301,7 @@ |
||
| 301 | 301 | |
| 302 | 302 | /** |
| 303 | 303 | * @param View $page |
| 304 | - * @param $locale |
|
| 304 | + * @param string $locale |
|
| 305 | 305 | */ |
| 306 | 306 | private function refreshPage(View $page, $locale) |
| 307 | 307 | { |