@@ -195,6 +195,6 @@ |
||
| 195 | 195 | { |
| 196 | 196 | $dumper = new PhpDumper($container); |
| 197 | 197 | |
| 198 | - file_put_contents($pathname, $dumper->dump([ 'class' => $class ])); |
|
| 198 | + file_put_contents($pathname, $dumper->dump(['class' => $class])); |
|
| 199 | 199 | } |
| 200 | 200 | } |
@@ -62,8 +62,8 @@ |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | $definition = (new Definition('ICanBoogie\Dummy' . uniqid())) |
| 65 | - ->setFactory([ new Reference('app'), '__get' ]) |
|
| 66 | - ->setArguments([ $id ]); |
|
| 65 | + ->setFactory([new Reference('app'), '__get']) |
|
| 66 | + ->setArguments([$id]); |
|
| 67 | 67 | |
| 68 | 68 | $container->setDefinition($id, $definition); |
| 69 | 69 | } |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | ContainerConfig::USE_CACHING => false, |
| 17 | 17 | ContainerConfig::EXTENSIONS => [ |
| 18 | 18 | |
| 19 | - [ Extension\ApplicationExtension::class, 'from' ] |
|
| 19 | + [Extension\ApplicationExtension::class, 'from'] |
|
| 20 | 20 | |
| 21 | 21 | ] |
| 22 | 22 | |