@@ -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 | { |
@@ -45,7 +45,6 @@ |
||
| 45 | 45 | use Symfony\Component\HttpKernel\KernelInterface; |
| 46 | 46 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 47 | 47 | use Symfony\Component\PropertyAccess\PropertyPath; |
| 48 | -use Symfony\Component\Security\Acl\Permission\MaskBuilderInterface; |
|
| 49 | 48 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
| 50 | 49 | use Symfony\Component\Security\Csrf\CsrfToken; |
| 51 | 50 | use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface; |
@@ -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); |