@@ -165,6 +165,7 @@ |
||
165 | 165 | |
166 | 166 | /** |
167 | 167 | * Set group and label from class name it not set. |
168 | + * @param string $name |
|
168 | 169 | */ |
169 | 170 | private function generateFallback($name): void |
170 | 171 | { |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | /** |
165 | 165 | * render a list element from the FieldDescription. |
166 | 166 | * |
167 | - * @param object $object |
|
167 | + * @param \stdClass $object |
|
168 | 168 | * @param array $params |
169 | 169 | * |
170 | 170 | * @return string |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * render a view element. |
247 | 247 | * |
248 | - * @param object $object |
|
248 | + * @param \stdClass $object |
|
249 | 249 | * |
250 | 250 | * @return string |
251 | 251 | */ |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | /** |
383 | 383 | * Get the identifiers as a string that is safe to use in a url. |
384 | 384 | * |
385 | - * @param object $model |
|
385 | + * @param \stdClass $model |
|
386 | 386 | * |
387 | 387 | * @return string string representation of the id that is safe to use in a url |
388 | 388 | */ |
@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | } |
405 | 405 | |
406 | 406 | /** |
407 | - * @return string|bool |
|
407 | + * @return string|false |
|
408 | 408 | */ |
409 | 409 | public function getXEditableType($type) |
410 | 410 | { |
@@ -41,7 +41,6 @@ |
||
41 | 41 | use Symfony\Component\Translation\Translator; |
42 | 42 | use Symfony\Component\Translation\TranslatorInterface; |
43 | 43 | use Twig\Environment; |
44 | -use Twig\Error\LoaderError; |
|
45 | 44 | use Twig\Extensions\TextExtension; |
46 | 45 | |
47 | 46 | /** |