Completed
Push — master ( 620ad0...12d29c )
by Askupa
01:40
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'       => 'off',
24
-            'filter'        => array( $this, 'filter' ),
24
+            'filter'        => array($this, 'filter'),
25 25
             'show'          => null
26 26
         );
27 27
     }
@@ -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.