@@ -165,7 +165,7 @@ |
||
| 165 | 165 | */ |
| 166 | 166 | private function createBuild(Container $container, array $arguments = NULL) |
| 167 | 167 | { |
| 168 | - if ($this->buildFactory === NULL){ |
|
| 168 | + if ($this->buildFactory === NULL) { |
|
| 169 | 169 | throw new InvalidStateException("Build factory was not setted."); |
| 170 | 170 | } |
| 171 | 171 | return $this->buildFactory->create($container, $arguments); |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | $container = require_once $bootstrapFile; |
| 134 | 134 | if ($container === 1 || $container === TRUE) { // 1 = success, TRUE = already required |
| 135 | 135 | return NULL; |
| 136 | - }elseif ($container instanceof Container) { |
|
| 136 | + } elseif ($container instanceof Container) { |
|
| 137 | 137 | return $container; |
| 138 | 138 | } |
| 139 | 139 | $this->log("Returned value from bootstrap.php must be instance of 'Genesis\\Container\\Container' or nothing (NULL).", 'red'); |