@@ -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 | } |
@@ -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 | } |
@@ -711,8 +711,7 @@ |
||
| 711 | 711 | if(is_object(json_decode($value))) { |
| 712 | 712 | return $value; |
| 713 | 713 | } |
| 714 | - } |
|
| 715 | - else |
|
| 714 | + } else |
|
| 716 | 715 | { |
| 717 | 716 | if(is_array(json_decode($value, true))) { |
| 718 | 717 | return $value; |