@@ -295,7 +295,7 @@ discard block  | 
                                                    ||
| 295 | 295 | }  | 
                                                        
| 296 | 296 | |
| 297 | 297 | /**  | 
                                                        
| 298 | - * @return array  | 
                                                        |
| 298 | + * @return string[]  | 
                                                        |
| 299 | 299 | */  | 
                                                        
| 300 | 300 | public function getAdminServiceIds()  | 
                                                        
| 301 | 301 |      { | 
                                                        
@@ -321,7 +321,7 @@ discard block  | 
                                                    ||
| 321 | 321 | }  | 
                                                        
| 322 | 322 | |
| 323 | 323 | /**  | 
                                                        
| 324 | - * @return array  | 
                                                        |
| 324 | + * @return string[]  | 
                                                        |
| 325 | 325 | */  | 
                                                        
| 326 | 326 | public function getTemplates()  | 
                                                        
| 327 | 327 |      { | 
                                                        
@@ -101,7 +101,7 @@  | 
                                                    ||
| 101 | 101 | * @param string $class  | 
                                                        
| 102 | 102 | * @param string|null $property  | 
                                                        
| 103 | 103 | * @param QueryBuilder|null $query  | 
                                                        
| 104 | - * @param array $choices  | 
                                                        |
| 104 | + * @param integer[] $choices  | 
                                                        |
| 105 | 105 | */  | 
                                                        
| 106 | 106 | public function __construct(  | 
                                                        
| 107 | 107 | ModelManagerInterface $modelManager,  | 
                                                        
@@ -37,7 +37,7 @@  | 
                                                    ||
| 37 | 37 | private $file;  | 
                                                        
| 38 | 38 | |
| 39 | 39 | /**  | 
                                                        
| 40 | - * @param array|string $skeletonDirectories  | 
                                                        |
| 40 | + * @param string $skeletonDirectories  | 
                                                        |
| 41 | 41 | */  | 
                                                        
| 42 | 42 | public function __construct(ModelManagerInterface $modelManager, $skeletonDirectories)  | 
                                                        
| 43 | 43 |      { | 
                                                        
@@ -1954,7 +1954,7 @@ discard block  | 
                                                    ||
| 1954 | 1954 | *  | 
                                                        
| 1955 | 1955 | * @param string $context  | 
                                                        
| 1956 | 1956 | *  | 
                                                        
| 1957 | - * @return array  | 
                                                        |
| 1957 | + * @return string[]  | 
                                                        |
| 1958 | 1958 | */  | 
                                                        
| 1959 | 1959 | public function getPermissionsShow($context)  | 
                                                        
| 1960 | 1960 |      { | 
                                                        
@@ -2469,6 +2469,9 @@ discard block  | 
                                                    ||
| 2469 | 2469 |      { | 
                                                        
| 2470 | 2470 | }  | 
                                                        
| 2471 | 2471 | |
| 2472 | + /**  | 
                                                        |
| 2473 | + * @param string $action  | 
                                                        |
| 2474 | + */  | 
                                                        |
| 2472 | 2475 | protected function configureActionButtons($buttonList, $action, $object = null)  | 
                                                        
| 2473 | 2476 |      { | 
                                                        
| 2474 | 2477 | return $buttonList;  | 
                                                        
@@ -2489,6 +2492,7 @@ discard block  | 
                                                    ||
| 2489 | 2492 | /**  | 
                                                        
| 2490 | 2493 | * NEXT_MAJOR: remove this method.  | 
                                                        
| 2491 | 2494 | *  | 
                                                        
| 2495 | + * @param string $action  | 
                                                        |
| 2492 | 2496 | * @return mixed  | 
                                                        
| 2493 | 2497 | *  | 
                                                        
| 2494 | 2498 | * @deprecated Use configureTabMenu instead  | 
                                                        
@@ -434,7 +434,7 @@ discard block  | 
                                                    ||
| 434 | 434 | * Returns a parameter.  | 
                                                        
| 435 | 435 | *  | 
                                                        
| 436 | 436 | * @param string $name  | 
                                                        
| 437 | - * @param mixed $default  | 
                                                        |
| 437 | + * @param null|string $default  | 
                                                        |
| 438 | 438 | *  | 
                                                        
| 439 | 439 | * @return mixed  | 
                                                        
| 440 | 440 | */  | 
                                                        
@@ -459,7 +459,7 @@ discard block  | 
                                                    ||
| 459 | 459 | * Sets a parameter.  | 
                                                        
| 460 | 460 | *  | 
                                                        
| 461 | 461 | * @param string $name  | 
                                                        
| 462 | - * @param mixed $value  | 
                                                        |
| 462 | + * @param string $value  | 
                                                        |
| 463 | 463 | */  | 
                                                        
| 464 | 464 | public function setParameter($name, $value): void  | 
                                                        
| 465 | 465 |      { | 
                                                        
@@ -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,  |