Passed
Push — master ( 3a6805...ce1ad4 )
by Korotkov
02:01 queued 14s
created
app/Containers/Demo/Controller/IndexController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     #[Middleware(name: 'App\Containers\Demo\Middleware\SecondMiddleware')]
25 25
     #[AfterMiddleware(name: 'App\Containers\Demo\Middleware\FirstMiddleware')]
26 26
     #[AfterMiddleware(name: 'App\Containers\Demo\Middleware\SecondMiddleware')]
27
-    public function attributes(stdClass $std, stdClass $asd,stdClass $asw,string $name = 'John'): void
27
+    public function attributes(stdClass $std, stdClass $asd, stdClass $asw, string $name = 'John'): void
28 28
     {
29 29
         data([
30 30
             "content" => cache(['mainpage', '+1 day']) ?? view(["index", 'mainpage']),
@@ -38,13 +38,13 @@  discard block
 block discarded – undo
38 38
         // dump(Rudra::get('factory'));
39 39
         // dump(Rudra::get('callable'));
40 40
 
41
-        Rudra::set(['one',  [new StdFactory()]]);
41
+        Rudra::set(['one', [new StdFactory()]]);
42 42
         dump(Rudra::get('one'));
43 43
 
44
-        Rudra::set(['two',  [fn() => (new StdFactory())->create()]]);
44
+        Rudra::set(['two', [fn() => (new StdFactory())->create()]]);
45 45
         dump(Rudra::get('two'));
46 46
 
47
-        Rudra::set(['three',  [StdFactory::class]]);
47
+        Rudra::set(['three', [StdFactory::class]]);
48 48
         dump(Rudra::get('three'));
49 49
 
50 50
         render("layout", data());
Please login to merge, or discard this patch.