Completed
Branch bootstrap-refactoring (37e127)
by Adam
03:53
created
src/Bootstrap.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.