@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $configuration = new Configuration(); |
| 23 | 23 | $config = $this->processConfiguration($configuration, $configs); |
| 24 | 24 | |
| 25 | - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 25 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 26 | 26 | $loader->load('services.xml'); |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -112,10 +112,10 @@ |
||
| 112 | 112 | $callee = $context->getEntity(); |
| 113 | 113 | |
| 114 | 114 | } elseif (in_array($objectReference, ['self', 'this'])) { |
| 115 | - $callee = $hydrationStack[count($hydrationStack)-1]; |
|
| 115 | + $callee = $hydrationStack[count($hydrationStack) - 1]; |
|
| 116 | 116 | |
| 117 | 117 | } elseif (in_array($objectReference, ['parent'])) { |
| 118 | - $callee = $hydrationStack[count($hydrationStack)-2]; |
|
| 118 | + $callee = $hydrationStack[count($hydrationStack) - 2]; |
|
| 119 | 119 | |
| 120 | 120 | } elseif ($objectReference[0] === '@') { |
| 121 | 121 | /** @var string $serviceId */ |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | 'bar' => new ServiceMapping($this->container, 'other_service', false, "in file '{$mappingFilePath}'"), |
| 89 | 89 | 'baz' => new ChoiceMapping('baz_column', [ |
| 90 | 90 | 'lorem' => new ServiceMapping($this->container, "lorem_service", false, "in file '{$mappingFilePath}'"), |
| 91 | - 'ipsum' => new ServiceMapping($this->container, "ipsum_service", true, "in file '{$mappingFilePath}'"), |
|
| 91 | + 'ipsum' => new ServiceMapping($this->container, "ipsum_service", true, "in file '{$mappingFilePath}'"), |
|
| 92 | 92 | ], "in file '{$mappingFilePath}'"), |
| 93 | 93 | 'faz' => new ChoiceMapping(new Column("faz_column", Type::getType('string'), ['notnull' => true]), [ |
| 94 | 94 | 'lorem' => new ServiceMapping($this->container, "lorem_service", false, "in file '{$mappingFilePath}'"), |