Passed
Push — main ( 92bf86...8347d6 )
by Thomas
02:44
created
src/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
         $registry->add(App::class, $this);
160 160
 
161 161
         $registry->add(Factory::class, \Conia\Chuck\Http\Nyholm::class);
162
-        $registry->add(Response::class, function (Registry $registry): Response {
162
+        $registry->add(Response::class, function(Registry $registry): Response {
163 163
             $factory = $registry->get(Factory::class);
164 164
             assert($factory instanceof Factory);
165 165
 
Please login to merge, or discard this patch.
src/Registry/Inject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 use Attribute;
8 8
 use Conia\Chuck\Exception\RuntimeException;
9 9
 
10
-#[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_FUNCTION | Attribute::TARGET_METHOD)]
10
+#[Attribute(Attribute::IS_REPEATABLE|Attribute::TARGET_FUNCTION|Attribute::TARGET_METHOD)]
11 11
 class Inject
12 12
 {
13 13
     public array $args;
Please login to merge, or discard this patch.
src/Registry/Call.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 use Attribute;
8 8
 use Conia\Chuck\Exception\RuntimeException;
9 9
 
10
-#[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_CLASS)]
10
+#[Attribute(Attribute::IS_REPEATABLE|Attribute::TARGET_CLASS)]
11 11
 class Call
12 12
 {
13 13
     public array $args;
Please login to merge, or discard this patch.
src/Registry/Registry.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
         }
66 66
 
67 67
         $message = empty($this->tag) ?
68
-            'Unresolvable id: ' . $id :
69
-            'Unresolvable tagged id: ' . $this->tag . '::' . $id;
68
+            'Unresolvable id: ' . $id : 'Unresolvable tagged id: ' . $this->tag . '::' . $id;
70 69
 
71 70
         throw new NotFoundException($message);
72 71
     }
Please login to merge, or discard this patch.