@@ -196,6 +196,11 @@ |
||
196 | 196 | return $id; |
197 | 197 | } |
198 | 198 | |
199 | + /** |
|
200 | + * @param string $id |
|
201 | + * @param integer $number |
|
202 | + * @param string $domain |
|
203 | + */ |
|
199 | 204 | public function transChoice($id, $number, array $parameters = [], ?string $domain = null, ?string $locale = null) |
200 | 205 | { |
201 | 206 | $this->addMessage($id, $domain); |
@@ -1093,6 +1093,9 @@ discard block |
||
1093 | 1093 | return $this->routeGenerator->hasAdminRoute($this, $name); |
1094 | 1094 | } |
1095 | 1095 | |
1096 | + /** |
|
1097 | + * @param string $adminCode |
|
1098 | + */ |
|
1096 | 1099 | public function isCurrentRoute(string $name, ?string $adminCode = null): bool |
1097 | 1100 | { |
1098 | 1101 | if (!$this->hasRequest()) { |
@@ -1351,6 +1354,9 @@ discard block |
||
1351 | 1354 | return $this->baseControllerName; |
1352 | 1355 | } |
1353 | 1356 | |
1357 | + /** |
|
1358 | + * @param string $label |
|
1359 | + */ |
|
1354 | 1360 | public function setLabel(?string $label): void |
1355 | 1361 | { |
1356 | 1362 | $this->label = $label; |
@@ -2207,6 +2213,9 @@ discard block |
||
2207 | 2213 | return $this->managerType; |
2208 | 2214 | } |
2209 | 2215 | |
2216 | + /** |
|
2217 | + * @param string $type |
|
2218 | + */ |
|
2210 | 2219 | public function setManagerType(?string $type): void |
2211 | 2220 | { |
2212 | 2221 | $this->managerType = $type; |
@@ -2660,6 +2669,7 @@ discard block |
||
2660 | 2669 | |
2661 | 2670 | /** |
2662 | 2671 | * {@inheritdoc} |
2672 | + * @param boolean $isShown |
|
2663 | 2673 | */ |
2664 | 2674 | final public function showMosaicButton($isShown): void |
2665 | 2675 | { |
@@ -2807,6 +2817,7 @@ discard block |
||
2807 | 2817 | * NEXT_MAJOR: remove this method. |
2808 | 2818 | * |
2809 | 2819 | * @deprecated Use configureTabMenu instead |
2820 | + * @param string $action |
|
2810 | 2821 | */ |
2811 | 2822 | protected function configureSideMenu(ItemInterface $menu, $action, ?AdminInterface $childAdmin = null): void |
2812 | 2823 | { |
@@ -188,6 +188,7 @@ discard block |
||
188 | 188 | * |
189 | 189 | * @param string $view The view name |
190 | 190 | * @param array<string, mixed> $parameters An array of parameters to pass to the view |
191 | + * @param Response $response |
|
191 | 192 | */ |
192 | 193 | public function renderWithExtraParams($view, array $parameters = [], ?Response $response = null): Response |
193 | 194 | { |
@@ -827,8 +828,8 @@ discard block |
||
827 | 828 | /** |
828 | 829 | * Compare history revisions of object. |
829 | 830 | * |
830 | - * @param int|string|null $baseRevision |
|
831 | - * @param int|string|null $compareRevision |
|
831 | + * @param null|integer $baseRevision |
|
832 | + * @param null|integer $compareRevision |
|
832 | 833 | * |
833 | 834 | * @throws AccessDeniedException If access is not granted |
834 | 835 | * @throws NotFoundHttpException If the object or revision does not exist or the audit reader is not available |
@@ -1008,6 +1009,9 @@ discard block |
||
1008 | 1009 | return $this->requestStack->getCurrentRequest(); |
1009 | 1010 | } |
1010 | 1011 | |
1012 | + /** |
|
1013 | + * @param string $message |
|
1014 | + */ |
|
1011 | 1015 | protected function addFlash(string $type, $message): void |
1012 | 1016 | { |
1013 | 1017 | if ($this->session instanceof Session) { |
@@ -1492,6 +1496,7 @@ discard block |
||
1492 | 1496 | |
1493 | 1497 | /** |
1494 | 1498 | * Sets the admin form theme to form view. Used for compatibility between Symfony versions. |
1499 | + * @param string[] $theme |
|
1495 | 1500 | */ |
1496 | 1501 | private function setFormTheme(FormView $formView, ?array $theme = null): void |
1497 | 1502 | { |