1 | <?php |
||
35 | class GravitonCoreBundle extends Bundle implements GravitonBundleInterface |
||
36 | { |
||
37 | /** |
||
38 | * {@inheritDoc} |
||
39 | * |
||
40 | * set up graviton symfony bundles |
||
41 | * |
||
42 | * @return \Symfony\Component\HttpKernel\Bundle\Bundle[] |
||
|
|||
43 | */ |
||
44 | 8 | public function getBundles() |
|
45 | { |
||
46 | return array( |
||
47 | 8 | new GravitonExceptionBundle(), |
|
48 | 8 | new GravitonDocumentBundle(), |
|
49 | 8 | new GravitonSchemaBundle(), |
|
50 | 8 | new GravitonRestBundle(), |
|
51 | 8 | new GravitonI18nBundle(), |
|
52 | 8 | new GravitonGeneratorBundle(), |
|
53 | 8 | new GravitonCacheBundle(), |
|
54 | 8 | new GravitonLogBundle(), |
|
55 | 8 | new GravitonSecurityBundle(), |
|
56 | 8 | new GravitonSwaggerBundle(), |
|
57 | 8 | new GravitonFileBundle(), |
|
58 | 8 | new GravitonRabbitMqBundle(), |
|
59 | 8 | new GravitonMigrationBundle(), |
|
60 | 8 | new GravitonProxyBundle(), |
|
61 | 4 | ); |
|
62 | } |
||
63 | |||
64 | /** |
||
65 | * load version compiler pass |
||
66 | * |
||
67 | * @param ContainerBuilder $container container builder |
||
68 | * |
||
69 | * @return void |
||
70 | */ |
||
71 | 2 | public function build(ContainerBuilder $container) |
|
78 | } |
||
79 |
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.