Test Failed
Push — main ( 3d89fd...8d1023 )
by Chema
03:11
created
src/Container/FactoryManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     public function generateExtendedInstance(Closure $instance, mixed $factory, Container $container): Closure
141 141
     {
142 142
         if (is_callable($factory)) {
143
-            return static function (Container $c) use ($instance, $factory) {
143
+            return static function(Container $c) use ($instance, $factory) {
144 144
                 $result = $factory($c);
145 145
 
146 146
                 return $instance($result, $c) ?? $result;
Please login to merge, or discard this patch.
src/Container/DependencyResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @return list<mixed>
50 50
      */
51
-    public function resolveDependencies(string|Closure $toResolve): array
51
+    public function resolveDependencies(string | Closure $toResolve): array
52 52
     {
53 53
         /** @var list<mixed> $dependencies */
54 54
         $dependencies = [];
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *
69 69
      * @return list<ReflectionParameter>
70 70
      */
71
-    private function getParametersToResolve(Closure|string $toResolve): array
71
+    private function getParametersToResolve(Closure | string $toResolve): array
72 72
     {
73 73
         if (is_string($toResolve)) {
74 74
             $constructor = $this->getConstructor($toResolve);
Please login to merge, or discard this patch.