Passed
Branch main (039da0)
by ANDREY
11:09
created
Category
code/src/VPA/DI/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $classesNeedCheck = array_merge($loadedClasses, $manualConfig);
23 23
         foreach ($classesNeedCheck as $alias => $class) {
24 24
             assert(is_string($class));
25
-            if(class_exists($class)) {
25
+            if (class_exists($class)) {
26 26
                 $reflectionClass = new \ReflectionClass($class);
27 27
                 $attributes = $reflectionClass->getAttributes();
28 28
                 foreach ($attributes as $attribute) {
Please login to merge, or discard this patch.
code/examples/demo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,9 +45,9 @@
 block discarded – undo
45 45
     $di->registerContainers([
46 46
         'aaaa'=>'B'
47 47
     ]);
48
-    $b = $di->get('aaaa',['num'=>12]);
48
+    $b = $di->get('aaaa', ['num'=>12]);
49 49
     //$b = $di->get(::class);
50 50
     $b->echo();
51 51
 } catch (Exception $e) {
52
-    print($e->getMessage()."\n");
52
+    print($e->getMessage() . "\n");
53 53
 }
54 54
\ No newline at end of file
Please login to merge, or discard this patch.