Passed
Push — master ( 0b7f37...aa3361 )
by Korotkov
02:10 queued 14s
created
app/Containers/Demo/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     'services'    => [
21 21
         // 'factory'  => StdFactory::class,
22
-        'callable' => function (){
22
+        'callable' => function() {
23 23
             $std = new stdClass;
24 24
             $std->method = __METHOD__ . '::Created from waiting';
25 25
     
Please login to merge, or discard this patch.
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', 'now']) ?? 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.