@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * handle this. |
| 44 | 44 | * |
| 45 | 45 | * @param [string] $v |
| 46 | - * @return void |
|
| 46 | + * @return string |
|
| 47 | 47 | */ |
| 48 | 48 | public function filter($v) |
| 49 | 49 | { |
@@ -47,7 +47,9 @@ |
||
| 47 | 47 | */ |
| 48 | 48 | public function filter($v) |
| 49 | 49 | { |
| 50 | - if($v !== 'on') return 'off'; |
|
| 50 | + if($v !== 'on') { |
|
| 51 | + return 'off'; |
|
| 52 | + } |
|
| 51 | 53 | return 'on'; |
| 52 | 54 | } |
| 53 | 55 | } |
| 54 | 56 | \ No newline at end of file |