1 | <?php |
||
25 | class GravitonRestBundle extends Bundle implements GravitonBundleInterface |
||
26 | { |
||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | * |
||
30 | * set up basic bundles needed for being RESTful |
||
31 | * |
||
32 | * @return \Symfony\Component\HttpKernel\Bundle\Bundle[] |
||
|
|||
33 | */ |
||
34 | 6 | public function getBundles() |
|
40 | |||
41 | /** |
||
42 | * load compiler pass rest route loader |
||
43 | * |
||
44 | * @param ContainerBuilder $container container builder |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | 4 | public function build(ContainerBuilder $container) |
|
55 | } |
||
56 |
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.