Completed
Push — master ( 3d345a...4bdd65 )
by Askupa
01:39
created
components/switch/controller.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.