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