Completed
Push — php7/eduard ( ce4c1b )
by
unknown
02:08
created
src/PHP7Kata/LegacyToMigrate.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -47,12 +47,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.