Passed
Push — master ( c3e433...2d63f5 )
by Korotkov
03:15 queued 01:37
created
app/Containers/Web/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 Router::get([
6 6
     'url' => "callable/:name",
7
-    'controller' => function ($name) {
7
+    'controller' => function($name) {
8 8
         echo "Hello $name!";
9 9
     }
10 10
 ]);
Please login to merge, or discard this patch.
app/Containers/Web/config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
     'contracts'   => [
9 9
         // stdClass::class      => StdFactory::class,
10 10
         // stdClass::class      => 'callable',
11
-        stdClass::class      => function (){
11
+        stdClass::class      => function() {
12 12
             $std = new stdClass;
13 13
             $std->method = __METHOD__ . '::Dependency Injection';
14 14
     
@@ -19,7 +19,7 @@  discard block
 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.