@@ -117,7 +117,6 @@ |
||
117 | 117 | |
118 | 118 | /** |
119 | 119 | * Return data about a particular {@link Member} of the stack for use in API response. |
120 | - |
|
121 | 120 | * Notes: |
122 | 121 | * 1) This method returns null instead of an array if the member doesn't exists anymore |
123 | 122 | * 2) 'role' can be null in the response. This is the case of an admin, or an operations |
@@ -40,7 +40,7 @@ discard block |
||
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 |
||
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 |