@@ -208,7 +208,7 @@  | 
                                                    ||
| 208 | 208 | /**  | 
                                                        
| 209 | 209 | * @param string $string  | 
                                                        
| 210 | 210 | *  | 
                                                        
| 211 | - * @return mixed  | 
                                                        |
| 211 | + * @return string  | 
                                                        |
| 212 | 212 | */  | 
                                                        
| 213 | 213 | private function normalize($string)  | 
                                                        
| 214 | 214 |      { | 
                                                        
@@ -54,6 +54,9 @@ discard block  | 
                                                    ||
| 54 | 54 | */  | 
                                                        
| 55 | 55 | private $messageFactory;  | 
                                                        
| 56 | 56 | |
| 57 | + /**  | 
                                                        |
| 58 | + * @param string $name  | 
                                                        |
| 59 | + */  | 
                                                        |
| 57 | 60 | public function __construct(  | 
                                                        
| 58 | 61 | ?string $name,  | 
                                                        
| 59 | 62 | EngineInterface $templating,  | 
                                                        
@@ -162,7 +165,7 @@ discard block  | 
                                                    ||
| 162 | 165 | /**  | 
                                                        
| 163 | 166 | * Returns supported API parameters from settings.  | 
                                                        
| 164 | 167 | *  | 
                                                        
| 165 | - * @return array  | 
                                                        |
| 168 | + * @return string[]  | 
                                                        |
| 166 | 169 | */  | 
                                                        
| 167 | 170 | protected function getSupportedApiParams()  | 
                                                        
| 168 | 171 |      { |