Completed
Push — master ( b31906...e560b1 )
by Théo
13:58
created
src/FileLoader/Parser/Yaml/DefinitionsParser.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     public function __construct(ServiceResolver $serviceResolver = null)
29 29
     {
30
-        $this->serviceResolver = (null === $serviceResolver)? new ServiceResolver(): $serviceResolver;
30
+        $this->serviceResolver = (null === $serviceResolver) ? new ServiceResolver() : $serviceResolver;
31 31
     }
32 32
 
33 33
     /**
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -336,7 +336,7 @@
 block discarded – undo
336 336
             );
337 337
         }
338 338
 
339
-       return new Factory($service, $factoryClass, $factoryMethod);
339
+        return new Factory($service, $factoryClass, $factoryMethod);
340 340
     }
341 341
 
342 342
     /**
Please login to merge, or discard this patch.
src/DependencyInjection/Definition/DecorationInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 interface DecorationInterface extends ServiceInterface
18 18
 {
19 19
     /**
20
-     * @return array<string, string> The first value is the service id of the decorated service. The second argument is
20
+     * @return string[] string> The first value is the service id of the decorated service. The second argument is
21 21
      *                               the new name of the decorated service.
22 22
      */
23 23
     public function getDecoration();
Please login to merge, or discard this patch.
src/DependencyInjection/Builder/ServicesBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         $serviceId = ($service instanceof DecorationInterface) ? $service->getDecoration()[0] : $service->getName();
110 110
         $application->singleton(
111 111
             $serviceId,
112
-            function () use ($instantiator, $service) {
112
+            function() use ($instantiator, $service) {
113 113
                 return $instantiator->create($service);
114 114
             }
115 115
         );
Please login to merge, or discard this patch.