@@ -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 | { |
@@ -43,7 +43,6 @@ |
||
43 | 43 | use Symfony\Component\HttpFoundation\Session\SessionInterface; |
44 | 44 | use Symfony\Component\HttpKernel\Exception\HttpException; |
45 | 45 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
46 | -use Symfony\Component\HttpKernel\KernelInterface; |
|
47 | 46 | use Symfony\Component\PropertyAccess\PropertyAccess; |
48 | 47 | use Symfony\Component\PropertyAccess\PropertyPath; |
49 | 48 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |