@@ -182,6 +182,9 @@ |
||
| 182 | 182 | return PropertyAccess::createPropertyAccessor()->getValue($this->translate($currentLocale, false), 'getUrl'); |
| 183 | 183 | } |
| 184 | 184 | |
| 185 | + /** |
|
| 186 | + * @param string $name |
|
| 187 | + */ |
|
| 185 | 188 | public function setUrl($name, $locale = null) |
| 186 | 189 | { |
| 187 | 190 | $this->translate($locale)->setUrl($name); |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | - * @param [] $tree |
|
| 60 | + * @param WebViewInterface[] $tree |
|
| 61 | 61 | */ |
| 62 | 62 | public function buildViewReferenceRecursively($tree, EntityManager $entityManager, $isRoot = true) |
| 63 | 63 | { |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | * Create a $slot array that'll contain, for each slot, a widgetmap id as key and a widgetmap as value |
| 141 | 141 | * Do not keeps widgetMaps that are overwrited. |
| 142 | 142 | * |
| 143 | - * @param $widgetMaps |
|
| 143 | + * @param WidgetMap[] $widgetMaps |
|
| 144 | 144 | * |
| 145 | 145 | * @return array |
| 146 | 146 | */ |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * |
| 31 | 31 | * @throws \Exception |
| 32 | 32 | * |
| 33 | - * @return bool |
|
| 33 | + * @return boolean|null |
|
| 34 | 34 | */ |
| 35 | 35 | protected function execute(InputInterface $input, OutputInterface $output) |
| 36 | 36 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * Inject Widgets in View's builtWidgetMap. |
| 73 | 73 | * |
| 74 | 74 | * @param View $view |
| 75 | - * @param $viewWidgets |
|
| 75 | + * @param Widget[] $viewWidgets |
|
| 76 | 76 | */ |
| 77 | 77 | private function injectWidgets(View $view, $viewWidgets) |
| 78 | 78 | { |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | * @throws \Throwable |
| 184 | 184 | * @throws \TypeError |
| 185 | 185 | * |
| 186 | - * @return array |
|
| 186 | + * @return Widget[] |
|
| 187 | 187 | */ |
| 188 | 188 | private function setAssociatedEntities(array $repositories) |
| 189 | 189 | { |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | 70 | * @param Element $page |
| 71 | - * @param float|int $timeout |
|
| 71 | + * @param integer $timeout |
|
| 72 | 72 | */ |
| 73 | 73 | public function assertPageAddress($page, $timeout = 10000) |
| 74 | 74 | { |