Completed
Push — master ( 69be90...75ac6f )
by Randy
02:13
created
src/ConditionTrait.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,8 +52,10 @@
 block discarded – undo
52 52
      *
53 53
      * @return mixed
54 54
      */
55
-    public function else($default)
55
+    public function else {
56
+     ($default)
56 57
     {
57 58
         return $this->isApproved() ? $this->value : $default;
58 59
     }
60
+    }
59 61
 }
60 62
\ No newline at end of file
Please login to merge, or discard this patch.