Completed
Push — 1.0 ( 89a641...42257f )
by David
01:33 queued 12s
created
tests/SymfonyContainerAdapterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         $container = new ContainerBuilder();
43 43
         $definition = new Definition(\stdClass::class);
44
-        $definition->setFactory([self::class, 'exceptionFactory']);
44
+        $definition->setFactory([ self::class, 'exceptionFactory' ]);
45 45
         $container->setDefinition('mydef', $definition);
46 46
         $container->compile();
47 47
         $containerAdapter = new SymfonyContainerAdapter($container);
Please login to merge, or discard this patch.
src/ServiceProviderCompilationPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         $factoryDefinition->setPublic(true);
139 139
         $containerDefinition = new Reference('interop_service_provider_acclimated_container');
140 140
 
141
-        if ((is_array($callable) && is_string($callable[0])) || is_string($callable)) {
141
+        if ((is_array($callable) && is_string($callable[ 0 ])) || is_string($callable)) {
142 142
             $factoryDefinition->setFactory($callable);
143 143
             $factoryDefinition->addArgument($containerDefinition);
144 144
         } else {
Please login to merge, or discard this patch.