@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | public static function hasSub($menu) |
23 | 23 | { |
24 | 24 | // check menu has sub |
25 | - if(! empty($menu['sub'])) |
|
25 | + if (!empty($menu['sub'])) |
|
26 | 26 | return true; |
27 | 27 | |
28 | 28 | return false; |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | $tag = $value['tag']; |
42 | 42 | |
43 | - if($value['tag'] === null) |
|
43 | + if ($value['tag'] === null) |
|
44 | 44 | $tag = 'i'; |
45 | 45 | |
46 | 46 | return '<' . $tag . ' class="' . $value['value'] . '"></' . $tag . '>'; |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public static function new_tab($newTab) |
57 | 57 | { |
58 | - if($newTab) |
|
58 | + if ($newTab) |
|
59 | 59 | return 'target="_blank"'; |
60 | 60 | |
61 | 61 | return null; |