@@ -47,12 +47,10 @@ discard block |
||
47 | 47 | if ($a == $b) |
48 | 48 | { |
49 | 49 | return 0; |
50 | - } |
|
51 | - elseif ($a > $b) |
|
50 | + } elseif ($a > $b) |
|
52 | 51 | { |
53 | 52 | return 1; |
54 | - } |
|
55 | - else |
|
53 | + } else |
|
56 | 54 | { |
57 | 55 | return -1; |
58 | 56 | } |
@@ -143,8 +141,7 @@ discard block |
||
143 | 141 | try |
144 | 142 | { |
145 | 143 | $this->functionThatFails(); |
146 | - } |
|
147 | - catch (FirstException | SecondException $e) |
|
144 | + } catch (FirstException | SecondException $e) |
|
148 | 145 | { |
149 | 146 | return false; |
150 | 147 | } |