Completed
Branch master (23ec3a)
by Riikka
02:56
created
Category
src/Container.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -56,16 +56,16 @@  discard block
 block discarded – undo
56 56
         $this->injections = [];
57 57
 
58 58
         $this->resolvers = [
59
-            self::TYPE_VALUE => function ($id) {
59
+            self::TYPE_VALUE => function($id) {
60 60
                 return $this->getPlainValue($id);
61 61
             },
62
-            self::TYPE_STANDARD => function ($id) {
62
+            self::TYPE_STANDARD => function($id) {
63 63
                 return $this->getStandardValue($id);
64 64
             },
65
-            self::TYPE_BLUEPRINT => function ($id) {
65
+            self::TYPE_BLUEPRINT => function($id) {
66 66
                 return $this->getBlueprintValue($id);
67 67
             },
68
-            self::TYPE_FACTORY => function ($id) {
68
+            self::TYPE_FACTORY => function($id) {
69 69
                 return $this->getFactoryValue($id);
70 70
             },
71 71
         ];
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      */
341 341
     private function loadArguments(array $arguments): array
342 342
     {
343
-        return array_map(function (string $value) {
343
+        return array_map(function(string $value) {
344 344
             return $this->getPath($value);
345 345
         }, $arguments);
346 346
     }
Please login to merge, or discard this patch.
src/KeyPathResolver.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,19 +32,19 @@
 block discarded – undo
32 32
     private function initializeTraversalMethods(): void
33 33
     {
34 34
         $this->traversalMethods = [
35
-            function (& $value, $key) {
35
+            function(& $value, $key) {
36 36
                 return $this->traverseArray($value, $key);
37 37
             },
38
-            function (& $value, $key) {
38
+            function(& $value, $key) {
39 39
                 return $this->traverseContainer($value, $key);
40 40
             },
41
-            function (& $value, $key) {
41
+            function(& $value, $key) {
42 42
                 return $this->traverseArrayAccess($value, $key);
43 43
             },
44
-            function (& $value, $key) {
44
+            function(& $value, $key) {
45 45
                 return $this->traverseMagicMethods($value, $key);
46 46
             },
47
-            function (& $value, $key) {
47
+            function(& $value, $key) {
48 48
                 return $this->traverseObjectVariables($value, $key);
49 49
             },
50 50
         ];
Please login to merge, or discard this patch.