@@ -163,8 +163,7 @@ |
||
163 | 163 | if($section->isDefault()) |
164 | 164 | { |
165 | 165 | $result = array_merge($result, $section->toArray()); |
166 | - } |
|
167 | - else |
|
166 | + } else |
|
168 | 167 | { |
169 | 168 | $result[$section->getName()] = $section->toArray(); |
170 | 169 | } |
@@ -159,8 +159,7 @@ discard block |
||
159 | 159 | if($hash === true) |
160 | 160 | { |
161 | 161 | $hash = 'true'; |
162 | - } |
|
163 | - else if($hash === false) |
|
162 | + } else if($hash === false) |
|
164 | 163 | { |
165 | 164 | $hash = 'false'; |
166 | 165 | } |
@@ -184,8 +183,7 @@ discard block |
||
184 | 183 | if($string === false) |
185 | 184 | { |
186 | 185 | $string = ''; |
187 | - } |
|
188 | - else if($quoteStyle === self::QUOTE_STYLE_SINGLE) |
|
186 | + } else if($quoteStyle === self::QUOTE_STYLE_SINGLE) |
|
189 | 187 | { |
190 | 188 | $string = mb_substr($string, 1, mb_strlen($string)-2); |
191 | 189 | $string = "'".str_replace("'", "\'", $string)."'"; |
@@ -322,8 +322,7 @@ |
||
322 | 322 | if($this->current < 1) |
323 | 323 | { |
324 | 324 | $this->current = 1; |
325 | - } |
|
326 | - else if($this->current > $pages) |
|
325 | + } else if($this->current > $pages) |
|
327 | 326 | { |
328 | 327 | $this->current = $pages; |
329 | 328 | } |
@@ -153,8 +153,7 @@ discard block |
||
153 | 153 | $this->sourceImage = $resource; |
154 | 154 | $this->type = $type; |
155 | 155 | $this->info = self::getImageSize($resource); |
156 | - } |
|
157 | - else |
|
156 | + } else |
|
158 | 157 | { |
159 | 158 | $this->file = $sourceFile; |
160 | 159 | if (!file_exists($this->file)) { |
@@ -551,8 +550,7 @@ discard block |
||
551 | 550 | if ($this->width <= $this->height) |
552 | 551 | { |
553 | 552 | return $this->resampleByWidth($width); |
554 | - } |
|
555 | - else |
|
553 | + } else |
|
556 | 554 | { |
557 | 555 | return $this->resampleByHeight($height); |
558 | 556 | } |
@@ -1016,8 +1014,7 @@ discard block |
||
1016 | 1014 | { |
1017 | 1015 | $bg2 = imagecolorallocatealpha($im2, $color['red'], $color['green'], $color['blue'], $color['alpha']); |
1018 | 1016 | imagecolortransparent($im2, $bg2); |
1019 | - } |
|
1020 | - else |
|
1017 | + } else |
|
1021 | 1018 | { |
1022 | 1019 | $bg2 = imagecolorallocate($im2, $color['red'], $color['green'], $color['blue']); |
1023 | 1020 | } |
@@ -1326,8 +1323,7 @@ discard block |
||
1326 | 1323 | if(method_exists(__CLASS__, $method)) |
1327 | 1324 | { |
1328 | 1325 | $info = call_user_func(array(__CLASS__, $method), $pathOrResource); |
1329 | - } |
|
1330 | - else |
|
1326 | + } else |
|
1331 | 1327 | { |
1332 | 1328 | $info = getimagesize($pathOrResource); |
1333 | 1329 | } |
@@ -202,8 +202,7 @@ |
||
202 | 202 | if(!$this->isCommitted()) { |
203 | 203 | $this->createCommit($message)->execute(); |
204 | 204 | $this->clearCache(); |
205 | - } |
|
206 | - else |
|
205 | + } else |
|
207 | 206 | { |
208 | 207 | $this->log('Already committed, nothing to do.'); |
209 | 208 | } |
@@ -58,8 +58,7 @@ |
||
58 | 58 | if(empty($lines)) |
59 | 59 | { |
60 | 60 | $this->status = self::STATUS_NOT_MODIFIED; |
61 | - } |
|
62 | - else |
|
61 | + } else |
|
63 | 62 | { |
64 | 63 | $this->status = self::STATUS_UNKNOWN; |
65 | 64 |
@@ -64,8 +64,7 @@ |
||
64 | 64 | if(is_array($subject)) |
65 | 65 | { |
66 | 66 | $this->parseSerialized($subject); |
67 | - } |
|
68 | - else |
|
67 | + } else |
|
69 | 68 | { |
70 | 69 | $this->parseException($subject); |
71 | 70 | } |
@@ -65,8 +65,7 @@ discard block |
||
65 | 65 | if(isset($data['serialized'])) |
66 | 66 | { |
67 | 67 | $this->parseSerialized($data['serialized']); |
68 | - } |
|
69 | - else |
|
68 | + } else |
|
70 | 69 | { |
71 | 70 | $this->parseTrace($data['trace']); |
72 | 71 | $this->position = $data['position']; |
@@ -75,8 +74,7 @@ discard block |
||
75 | 74 | if($this->hasClass()) |
76 | 75 | { |
77 | 76 | $this->type = self::TYPE_METHOD_CALL; |
78 | - } |
|
79 | - else if($this->hasFunction()) |
|
77 | + } else if($this->hasFunction()) |
|
80 | 78 | { |
81 | 79 | $this->type = self::TYPE_FUNCTION_CALL; |
82 | 80 | } |
@@ -279,8 +279,7 @@ |
||
279 | 279 | $entry['quality'] = (double)$params['q']; |
280 | 280 | } |
281 | 281 | } |
282 | - } |
|
283 | - else |
|
282 | + } else |
|
284 | 283 | { |
285 | 284 | $entry['type'] = $term; |
286 | 285 | } |