Completed
Pull Request — master (#512)
by Sean
03:16
created
code/control/DNRoot.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -186,8 +186,8 @@  discard block
 block discarded – undo
186 186
 		Requirements::javascript('deploynaut/javascript/material.js');
187 187
 
188 188
 		// Load the buildable dependencies only if not loaded centrally.
189
-		if (!is_dir(BASE_PATH . DIRECTORY_SEPARATOR . 'static')) {
190
-			if (\Director::isDev()) {
189
+		if(!is_dir(BASE_PATH . DIRECTORY_SEPARATOR . 'static')) {
190
+			if(\Director::isDev()) {
191 191
 				\Requirements::javascript('deploynaut/static/bundle-debug.js');
192 192
 			} else {
193 193
 				\Requirements::javascript('deploynaut/static/bundle.js');
@@ -1046,7 +1046,7 @@  discard block
 block discarded – undo
1046 1046
 	 */
1047 1047
 	public function getPlatformSpecificStrings() {
1048 1048
 		$strings = $this->config()->platform_specific_strings;
1049
-		if ($strings) {
1049
+		if($strings) {
1050 1050
 			return new ArrayList($strings);
1051 1051
 		}
1052 1052
 	}
@@ -1111,7 +1111,7 @@  discard block
 block discarded – undo
1111 1111
 
1112 1112
 				$isCurrentEnvironment = false;
1113 1113
 				if($project && $currentEnvironment) {
1114
-					$isCurrentEnvironment = (bool) $project->DNEnvironmentList()->find('ID', $currentEnvironment->ID);
1114
+					$isCurrentEnvironment = (bool)$project->DNEnvironmentList()->find('ID', $currentEnvironment->ID);
1115 1115
 				}
1116 1116
 
1117 1117
 				$navigation->push(array(
@@ -2345,7 +2345,7 @@  discard block
 block discarded – undo
2345 2345
 	public function AmbientMenu() {
2346 2346
 		$list = new ArrayList();
2347 2347
 
2348
-		if (Member::currentUserID()) {
2348
+		if(Member::currentUserID()) {
2349 2349
 			$list->push(new ArrayData(array(
2350 2350
 				'Classes' => 'logout',
2351 2351
 				'FaIcon' => 'sign-out',
Please login to merge, or discard this patch.