@@ -52,8 +52,10 @@ |
||
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 |