@@ -72,6 +72,7 @@ discard block |
||
| 72 | 72 | * |
| 73 | 73 | * @param string $view The view name |
| 74 | 74 | * @param array<string, mixed> $parameters An array of parameters to pass to the view |
| 75 | + * @param Response $response |
|
| 75 | 76 | */ |
| 76 | 77 | public function renderWithExtraParams($view, array $parameters = [], ?Response $response = null): Response |
| 77 | 78 | { |
@@ -711,8 +712,8 @@ discard block |
||
| 711 | 712 | /** |
| 712 | 713 | * Compare history revisions of object. |
| 713 | 714 | * |
| 714 | - * @param int|string|null $baseRevision |
|
| 715 | - * @param int|string|null $compareRevision |
|
| 715 | + * @param null|integer $baseRevision |
|
| 716 | + * @param null|integer $compareRevision |
|
| 716 | 717 | * |
| 717 | 718 | * @throws AccessDeniedException If access is not granted |
| 718 | 719 | * @throws NotFoundHttpException If the object or revision does not exist or the audit reader is not available |
@@ -1408,6 +1409,7 @@ discard block |
||
| 1408 | 1409 | |
| 1409 | 1410 | /** |
| 1410 | 1411 | * Sets the admin form theme to form view. Used for compatibility between Symfony versions. |
| 1412 | + * @param string[] $theme |
|
| 1411 | 1413 | */ |
| 1412 | 1414 | private function setFormTheme(FormView $formView, ?array $theme = null): void |
| 1413 | 1415 | { |
@@ -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); |
@@ -957,6 +957,7 @@ discard block |
||
| 957 | 957 | |
| 958 | 958 | /** |
| 959 | 959 | * NEXT_MAJOR: remove this method. |
| 960 | + * @param string $subClass |
|
| 960 | 961 | */ |
| 961 | 962 | public function addSubClass($subClass): void |
| 962 | 963 | { |
@@ -1088,6 +1089,9 @@ discard block |
||
| 1088 | 1089 | return $this->routeGenerator->hasAdminRoute($this, $name); |
| 1089 | 1090 | } |
| 1090 | 1091 | |
| 1092 | + /** |
|
| 1093 | + * @param string $adminCode |
|
| 1094 | + */ |
|
| 1091 | 1095 | public function isCurrentRoute(string $name, ?string $adminCode = null): bool |
| 1092 | 1096 | { |
| 1093 | 1097 | if (!$this->hasRequest()) { |
@@ -1342,6 +1346,9 @@ discard block |
||
| 1342 | 1346 | return $this->baseControllerName; |
| 1343 | 1347 | } |
| 1344 | 1348 | |
| 1349 | + /** |
|
| 1350 | + * @param string $label |
|
| 1351 | + */ |
|
| 1345 | 1352 | public function setLabel(?string $label): void |
| 1346 | 1353 | { |
| 1347 | 1354 | $this->label = $label; |
@@ -2126,6 +2133,9 @@ discard block |
||
| 2126 | 2133 | return $this->managerType; |
| 2127 | 2134 | } |
| 2128 | 2135 | |
| 2136 | + /** |
|
| 2137 | + * @param string $type |
|
| 2138 | + */ |
|
| 2129 | 2139 | public function setManagerType(?string $type): void |
| 2130 | 2140 | { |
| 2131 | 2141 | $this->managerType = $type; |
@@ -2579,6 +2589,7 @@ discard block |
||
| 2579 | 2589 | |
| 2580 | 2590 | /** |
| 2581 | 2591 | * {@inheritdoc} |
| 2592 | + * @param boolean $isShown |
|
| 2582 | 2593 | */ |
| 2583 | 2594 | final public function showMosaicButton($isShown): void |
| 2584 | 2595 | { |
@@ -2726,6 +2737,7 @@ discard block |
||
| 2726 | 2737 | * NEXT_MAJOR: remove this method. |
| 2727 | 2738 | * |
| 2728 | 2739 | * @deprecated Use configureTabMenu instead |
| 2740 | + * @param string $action |
|
| 2729 | 2741 | */ |
| 2730 | 2742 | protected function configureSideMenu(ItemInterface $menu, $action, ?AdminInterface $childAdmin = null): void |
| 2731 | 2743 | { |