Completed
Pull Request — master (#806)
by Stig
03:37
created
code/api/DeploynautAPIFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 		$startedNice = null;
41 41
 		$startedAgo = null;
42 42
 		// we check first, before we do a expensive ->Nice() and ->Ago()
43
-		if(!$deployment->DeployStarted) {
43
+		if (!$deployment->DeployStarted) {
44 44
 			$started = $deployment->Created;
45 45
 			$startedNice = $deployment->obj('Created')->Nice();
46 46
 			$startedAgo = $deployment->obj('Created')->Ago();
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 			self::$_cache_members[$memberID] = \DataObject::get_by_id("Member", $memberID);
146 146
 		}
147 147
 
148
-		if(!self::$_cache_members[$memberID]) {
148
+		if (!self::$_cache_members[$memberID]) {
149 149
 			return null;
150 150
 		}
151 151
 
Please login to merge, or discard this patch.