Passed
Push — main ( afbbe0...793036 )
by Thomas
12:53
created
src/Registry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             return $keys;
50 50
         }
51 51
 
52
-        return array_values(array_filter($keys, function ($item) {
52
+        return array_values(array_filter($keys, function($item) {
53 53
             return $item !== PsrContainer::class && !is_subclass_of($item, PsrContainer::class);
54 54
         }));
55 55
     }
Please login to merge, or discard this patch.
src/Call.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 use Conia\Registry\Exception\ContainerException;
9 9
 
10 10
 /** @psalm-api */
11
-#[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_CLASS)]
11
+#[Attribute(Attribute::IS_REPEATABLE|Attribute::TARGET_CLASS)]
12 12
 class Call
13 13
 {
14 14
     public array $args;
Please login to merge, or discard this patch.
src/Inject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 use Conia\Registry\Exception\ContainerException;
9 9
 
10 10
 /** @psalm-api */
11
-#[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_FUNCTION | Attribute::TARGET_METHOD)]
11
+#[Attribute(Attribute::IS_REPEATABLE|Attribute::TARGET_FUNCTION|Attribute::TARGET_METHOD)]
12 12
 class Inject
13 13
 {
14 14
     public array $args;
Please login to merge, or discard this patch.
src/Resolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
         if ($type instanceof ReflectionNamedType) {
89 89
             try {
90 90
                 return $this->registry->get(ltrim($type->getName(), '?'));
91
-            } catch (NotFoundException | ContainerException  $e) {
91
+            } catch (NotFoundException|ContainerException  $e) {
92 92
                 if ($param->isDefaultValueAvailable()) {
93 93
                     return $param->getDefaultValue();
94 94
                 }
Please login to merge, or discard this patch.