Passed
Push — main ( 47d353...677be7 )
by Sammy
01:35
created
Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
         $this->lament = $configuration_string;
20 20
     }
21 21
 
22
-    public function __toString(){
22
+    public function __toString() {
23 23
       return $this->configurationString();
24 24
     }
25 25
 
26
-    public function configurationString(){
26
+    public function configurationString() {
27 27
       return $this->lament;
28 28
     }
29 29
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function getModelOrControllerName()
46 46
     {
47 47
         preg_match(self::RX_MVC, $this->lament, $m);
48
-        return $m[1] . '\\' . $m[2];
48
+        return $m[1].'\\'.$m[2];
49 49
     }
50 50
 
51 51
     public function hasClassNameModifier()
Please login to merge, or discard this patch.
ReflectionFactory.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         $constructor = $rc->getConstructor();
53 53
 
54
-        if(empty($construction_args))
54
+        if (empty($construction_args))
55 55
           $construction_args = self::getConstructorParameters($constructor, $container);
56 56
 
57 57
         $instance = null;
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             if ($param->getType()) {
76 76
                 $construction_args [] = $container->get($param->getType()->getName());
77 77
             } else {
78
-                $setting = 'settings.Constructor.' . $constructor->class . '.' . $param->getName();
78
+                $setting = 'settings.Constructor.'.$constructor->class.'.'.$param->getName();
79 79
                 $construction_args [] = $container->get($setting);
80 80
             }
81 81
         }
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,9 @@
 block discarded – undo
51 51
     {
52 52
         $constructor = $rc->getConstructor();
53 53
 
54
-        if(empty($construction_args))
55
-          $construction_args = self::getConstructorParameters($constructor, $container);
54
+        if(empty($construction_args)) {
55
+                  $construction_args = self::getConstructorParameters($constructor, $container);
56
+        }
56 57
 
57 58
         $instance = null;
58 59
         if ($constructor->isPrivate()) { // singleton ?
Please login to merge, or discard this patch.
LeMarchand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
         foreach ($dbg['interface_wiring'] as $interface => $wire) {
47 47
             if (is_array($wire)) {
48
-                $wire = array_shift($wire) . ' --array #' . count($wire);
48
+                $wire = array_shift($wire).' --array #'.count($wire);
49 49
             }
50 50
             $dbg['interface_wiring'][$interface] = $wire;
51 51
         }
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         return $res;
88 88
     }
89 89
 
90
-    public function resolver(){
90
+    public function resolver() {
91 91
         return $this->resolver;
92 92
     }
93 93
 
Please login to merge, or discard this patch.