Passed
Push — main ( 74092d...02c73f )
by Chema
15:22 queued 14:38
created
src/Container/ContextualBindingBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      * @param class-string|list<class-string> $concrete
34 34
      */
35
-    public function when(string|array $concrete): self
35
+    public function when(string | array $concrete): self
36 36
     {
37 37
         $this->concrete = is_array($concrete) ? $concrete : [$concrete];
38 38
 
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
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @return list<mixed>
57 57
      */
58
-    public function resolveDependencies(string|Closure $toResolve): array
58
+    public function resolveDependencies(string | Closure $toResolve): array
59 59
     {
60 60
         // Track which class is being resolved for contextual bindings
61 61
         if (is_string($toResolve)) {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @return list<ReflectionParameter>
88 88
      */
89
-    private function getParametersToResolve(Closure|string $toResolve): array
89
+    private function getParametersToResolve(Closure | string $toResolve): array
90 90
     {
91 91
         if (is_string($toResolve)) {
92 92
             $constructor = $this->getConstructor($toResolve);
Please login to merge, or discard this patch.
src/Container/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
      *
209 209
      * @param class-string|list<class-string> $concrete
210 210
      */
211
-    public function when(string|array $concrete): ContextualBindingBuilder
211
+    public function when(string | array $concrete): ContextualBindingBuilder
212 212
     {
213 213
         $builder = new ContextualBindingBuilder($this->contextualBindings);
214 214
         $builder->when($concrete);
Please login to merge, or discard this patch.