@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | /** |
| 118 | 118 | * render a list element from the FieldDescription. |
| 119 | 119 | * |
| 120 | - * @param mixed $object |
|
| 120 | + * @param \stdClass $object |
|
| 121 | 121 | * @param array $params |
| 122 | 122 | * |
| 123 | 123 | * @return string |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | /** |
| 146 | 146 | * render a view element. |
| 147 | 147 | * |
| 148 | - * @param mixed $object |
|
| 148 | + * @param \stdClass $object |
|
| 149 | 149 | * |
| 150 | 150 | * @return string |
| 151 | 151 | */ |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | /** |
| 283 | 283 | * Get the identifiers as a string that is safe to use in a url. |
| 284 | 284 | * |
| 285 | - * @param object $model |
|
| 285 | + * @param \stdClass $model |
|
| 286 | 286 | * |
| 287 | 287 | * @return string string representation of the id that is safe to use in a url |
| 288 | 288 | */ |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | } |
| 305 | 305 | |
| 306 | 306 | /** |
| 307 | - * @return string|bool |
|
| 307 | + * @return string|false |
|
| 308 | 308 | */ |
| 309 | 309 | public function getXEditableType($type) |
| 310 | 310 | { |
@@ -432,7 +432,7 @@ discard block |
||
| 432 | 432 | * |
| 433 | 433 | * @param string $defaultTemplate |
| 434 | 434 | * |
| 435 | - * @return \Twig_TemplateInterface |
|
| 435 | + * @return \Twig_Template |
|
| 436 | 436 | */ |
| 437 | 437 | private function getTemplate( |
| 438 | 438 | FieldDescriptionInterface $fieldDescription, |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | use Symfony\Component\Translation\TranslatorInterface; |
| 23 | 23 | use Twig\Environment; |
| 24 | 24 | use Twig\Extension\AbstractExtension; |
| 25 | -use Twig\Template; |
|
| 26 | 25 | use Twig\TwigFilter; |
| 27 | 26 | use Twig\TwigFunction; |
| 28 | 27 | |
@@ -42,6 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * @deprecated since version 3.31. Pass a RequestStack to the constructor instead. |
| 44 | 44 | * |
| 45 | + * @param Request $request |
|
| 45 | 46 | * @return $this |
| 46 | 47 | */ |
| 47 | 48 | public function setRequest($request) |