Completed
Push — master ( 7deb80...a4d7e3 )
by Askupa
01:24
created
components/switch/controller.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
             'disabled'      => false,
22 22
             'readonly'      => false,
23 23
             'default'       => null,
24
-            'filter'        => array( $this, 'filter' )
24
+            'filter'        => array($this, 'filter')
25 25
         );
26 26
     }
27 27
     
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function filter($v)
48 48
     {
49
-        if($v !== 'on') return 'off';
49
+        if ($v !== 'on') return 'off';
50 50
         return 'on';
51 51
     }
52 52
 }
53 53
\ No newline at end of file
Please login to merge, or discard this patch.