@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | $tables[$row['database']][$row['table']][$node] = $row; |
278 | 278 | } |
279 | 279 | $result['replicas'][$node] = $r; |
280 | - }catch (\Exception $E) { |
|
280 | + } catch (\Exception $E) { |
|
281 | 281 | $result['replicas'][$node] = false; |
282 | 282 | $badNodes[$node] = $E->getMessage(); |
283 | 283 | $this->error[] = 'statementsReplicas:' . $E->getMessage(); |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | ]; |
300 | 300 | } |
301 | 301 | |
302 | - }catch (\Exception $E) { |
|
302 | + } catch (\Exception $E) { |
|
303 | 303 | $result['clusters'][$node] = false; |
304 | 304 | |
305 | 305 | $this->error[] = 'clusters:' . $E->getMessage(); |
@@ -29,8 +29,7 @@ |
||
29 | 29 | if ($else) |
30 | 30 | { |
31 | 31 | list($condition, $preset, $variable, $content_true, $content_false) = $matches; |
32 | - } |
|
33 | - else |
|
32 | + } else |
|
34 | 33 | { |
35 | 34 | list($condition, $preset, $variable, $content_true) = $matches; |
36 | 35 | } |