@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | 'required' => false, |
| 23 | 23 | 'readonly' => false, |
| 24 | 24 | 'default' => null, |
| 25 | - 'filter' => array( $this, 'filter' ) |
|
| 25 | + 'filter' => array($this, 'filter') |
|
| 26 | 26 | ); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | public function filter($v) |
| 49 | 49 | { |
| 50 | - if($v !== 'on') return 'off'; |
|
| 50 | + if ($v !== 'on') return 'off'; |
|
| 51 | 51 | return 'on'; |
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | \ No newline at end of file |