| @@ -37,7 +37,7 @@ | ||
| 37 | 37 | public function getModelOrControllerName() | 
| 38 | 38 |      { | 
| 39 | 39 | preg_match(self::RX_MVC, $this->lament, $m); | 
| 40 | - return $m[1] . '\\' . $m[2]; | |
| 40 | + return $m[1].'\\'.$m[2]; | |
| 41 | 41 | } | 
| 42 | 42 | |
| 43 | 43 | public function hasClassNameModifier() | 
| @@ -50,7 +50,7 @@ | ||
| 50 | 50 |                  if ($param->getType()) { | 
| 51 | 51 | $construction_args [] = $container->get($param->getType()->getName()); | 
| 52 | 52 |                  } else { | 
| 53 | - $setting = 'settings.Constructor.' . $constructor->class . '.' . $param->getName(); | |
| 53 | + $setting = 'settings.Constructor.'.$constructor->class.'.'.$param->getName(); | |
| 54 | 54 | $construction_args [] = $container->getSettings($setting); | 
| 55 | 55 | } | 
| 56 | 56 | } | 
| @@ -58,7 +58,7 @@ discard block | ||
| 58 | 58 | |
| 59 | 59 |          foreach ($dbg['interface_wiring'] as $interface => $wire) { | 
| 60 | 60 |              if (is_array($wire)) { | 
| 61 | - $wire = array_shift($wire) . ' --array #' . count($wire); | |
| 61 | + $wire = array_shift($wire).' --array #'.count($wire); | |
| 62 | 62 | } | 
| 63 | 63 | $dbg['interface_wiring'][$interface] = $wire; | 
| 64 | 64 | } | 
| @@ -150,7 +150,7 @@ discard block | ||
| 150 | 150 |          } elseif ($configuration->hasNewInstanceModifier()) { | 
| 151 | 151 | $ret = $this->makeInstance($class_name); | 
| 152 | 152 | } | 
| 153 | -        else{ | |
| 153 | +        else { | |
| 154 | 154 | $ret = $this->getInstance($class_name); | 
| 155 | 155 | } | 
| 156 | 156 | |
| @@ -179,7 +179,7 @@ discard block | ||
| 179 | 179 | |
| 180 | 180 | // not fully namespaced, lets cascade | 
| 181 | 181 |          foreach ($this->namespace_cascade as $ns) { | 
| 182 | -            if (class_exists($fully_namespaced = $ns . $class_name)) { | |
| 182 | +            if (class_exists($fully_namespaced = $ns.$class_name)) { | |
| 183 | 183 | $this->resolved($class_name, $fully_namespaced); | 
| 184 | 184 | return $fully_namespaced; | 
| 185 | 185 | } | 
| @@ -149,8 +149,7 @@ | ||
| 149 | 149 | $ret = $class_name; | 
| 150 | 150 |          } elseif ($configuration->hasNewInstanceModifier()) { | 
| 151 | 151 | $ret = $this->makeInstance($class_name); | 
| 152 | - } | |
| 153 | -        else{ | |
| 152 | +        } else{ | |
| 154 | 153 | $ret = $this->getInstance($class_name); | 
| 155 | 154 | } | 
| 156 | 155 | |