1 | <?php |
||
11 | class RequestController implements ContainerInjectionInterface { |
||
12 | |||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | public static function create(ContainerInterface $container) { |
||
19 | |||
20 | /** |
||
21 | * Controller. |
||
22 | * |
||
23 | * @param string $unique_id |
||
24 | * The unique request id from mod_unique_id. |
||
25 | * |
||
26 | * @return array |
||
|
|||
27 | * A render array. |
||
28 | */ |
||
29 | public function track($unique_id) { |
||
34 | |||
35 | } |
||
36 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.