@@ -96,8 +96,7 @@ discard block |
||
96 | 96 | if (!empty($styleName)) { |
97 | 97 | // $paths = []; |
98 | 98 | $paths = [$styleName => $paths[$styleName]]; |
99 | - } |
|
100 | - else { |
|
99 | + } else { |
|
101 | 100 | unset($paths[0]); |
102 | 101 | } |
103 | 102 | |
@@ -175,8 +174,7 @@ discard block |
||
175 | 174 | // @TODO: at yet implemented. |
176 | 175 | if (empty($styles)) { |
177 | 176 | // Delete all styled files. |
178 | - } |
|
179 | - else { |
|
177 | + } else { |
|
180 | 178 | // Delete files for the given style. |
181 | 179 | } |
182 | 180 | } |
@@ -219,8 +217,7 @@ discard block |
||
219 | 217 | $fetchFromS3 = FALSE; |
220 | 218 | if (!empty($this->images[0])) { |
221 | 219 | return $this->images[0][0]; |
222 | - } |
|
223 | - else { |
|
220 | + } else { |
|
224 | 221 | // The original file is in difference places depending on the local file policy. |
225 | 222 | $directory = $this->system->getStorageDirectory('original'); |
226 | 223 | $path = $directory . $filename; |