@@ -181,6 +181,7 @@ discard block |
||
| 181 | 181 | * |
| 182 | 182 | * @param string $view The view name |
| 183 | 183 | * @param array<string, mixed> $parameters An array of parameters to pass to the view |
| 184 | + * @param Response $response |
|
| 184 | 185 | */ |
| 185 | 186 | public function renderWithExtraParams($view, array $parameters = [], ?Response $response = null): Response |
| 186 | 187 | { |
@@ -818,8 +819,8 @@ discard block |
||
| 818 | 819 | /** |
| 819 | 820 | * Compare history revisions of object. |
| 820 | 821 | * |
| 821 | - * @param int|string|null $baseRevision |
|
| 822 | - * @param int|string|null $compareRevision |
|
| 822 | + * @param null|integer $baseRevision |
|
| 823 | + * @param null|integer $compareRevision |
|
| 823 | 824 | * |
| 824 | 825 | * @throws AccessDeniedException If access is not granted |
| 825 | 826 | * @throws NotFoundHttpException If the object or revision does not exist or the audit reader is not available |
@@ -1001,6 +1002,9 @@ discard block |
||
| 1001 | 1002 | return $this->requestStack->getCurrentRequest(); |
| 1002 | 1003 | } |
| 1003 | 1004 | |
| 1005 | + /** |
|
| 1006 | + * @param string $message |
|
| 1007 | + */ |
|
| 1004 | 1008 | protected function addFlash(string $type, $message): void |
| 1005 | 1009 | { |
| 1006 | 1010 | $this->session->getFlashBag()->add($type, $message); |
@@ -1483,6 +1487,7 @@ discard block |
||
| 1483 | 1487 | |
| 1484 | 1488 | /** |
| 1485 | 1489 | * Sets the admin form theme to form view. Used for compatibility between Symfony versions. |
| 1490 | + * @param string[] $theme |
|
| 1486 | 1491 | */ |
| 1487 | 1492 | private function setFormTheme(FormView $formView, ?array $theme = null): void |
| 1488 | 1493 | { |