Passed
Branch main (a99a01)
by Michael
03:35
created
src/Traits/BootsCallProxies.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@
 block discarded – undo
22 22
     {
23 23
         $dependencies = (
24 24
             new \ReflectionClass(static::class)
25
-        )?->getConstructor()?->getParameters();
25
+        ) ? ->getConstructor() ? ->getParameters();
26 26
 
27
-        if (! empty($dependencies)) {
27
+        if (!empty($dependencies)) {
28 28
             $this->proxy = new Fluent();
29 29
 
30
-            collect($dependencies)->map(function ($param) {
30
+            collect($dependencies)->map(function($param) {
31 31
                 $class = $param->getType()->getName();
32 32
 
33 33
                 if (class_exists($class) || interface_exists($class)) {
Please login to merge, or discard this patch.
src/Core/BindingBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      * @param object|string $abstract
23 23
      */
24 24
     public function __construct(
25
-        private object | string $abstract
25
+        private object|string $abstract
26 26
     ) {
27 27
         $this->abstract = $this->convertToNamespace($this->abstract);
28 28
     }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      *
120 120
      * @return void
121 121
      */
122
-    public function for(array|string $concrete): void
122
+    public function for (array|string $concrete): void
123 123
     {
124 124
         app()->when($concrete)
125 125
             ->needs($this->abstract)
Please login to merge, or discard this patch.