@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * |
20 | 20 | * @param array $cacheConfig |
21 | 21 | * @param ContainerBuilder $container |
22 | - * @return self |
|
22 | + * @return Definition |
|
23 | 23 | */ |
24 | 24 | private function createBinaryFileCache(array $cacheConfig, ContainerBuilder $container) |
25 | 25 | { |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * |
38 | 38 | * @param array $cacheConfig |
39 | 39 | * @param ContainerBuilder $container |
40 | - * @return self |
|
40 | + * @return Definition |
|
41 | 41 | */ |
42 | 42 | private function createFileCache(array $cacheConfig, ContainerBuilder $container) |
43 | 43 | { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * |
56 | 56 | * @param array $cacheConfig |
57 | 57 | * @param ContainerBuilder $container |
58 | - * @return self |
|
58 | + * @return Definition |
|
59 | 59 | */ |
60 | 60 | private function createRedisCache(array $cacheConfig, ContainerBuilder $container) |
61 | 61 | { |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * @param string $driverName |
70 | 70 | * @param array $driverConfig |
71 | 71 | * @param ContainerBuilder $container |
72 | - * @return array |
|
72 | + * @return string[] |
|
73 | 73 | */ |
74 | 74 | private function getDefinitionDirs($driverName, array $driverConfig, ContainerBuilder $container) |
75 | 75 | { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | { |
26 | 26 | $definition = new Definition( |
27 | 27 | Utility::getLibraryClass('Metadata\Driver\FileLocator'), |
28 | - [ $modelDir, $mixinDir ] |
|
28 | + [$modelDir, $mixinDir] |
|
29 | 29 | ); |
30 | 30 | $definition->setPublic(false); |
31 | 31 | return $definition; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * The bundle root namespace. |
21 | 21 | */ |
22 | - const BUNDLE_NS = 'As3\\Bundle\\ModlrBundle'; |
|
22 | + const BUNDLE_NS = 'As3\\Bundle\\ModlrBundle'; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * The bundle alias. |
@@ -25,7 +25,7 @@ |
||
25 | 25 | $config = $this->processConfiguration(new Configuration(), $configs); |
26 | 26 | |
27 | 27 | // Load bundle services. |
28 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
28 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
29 | 29 | $loader->load('services.yml'); |
30 | 30 | |
31 | 31 | $serviceLoader = new ServiceLoaderManager($container); |