Passed
Pull Request — master (#127)
by
unknown
03:39
created
Components/NavigationFooterColumns/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@
 block discarded – undo
7 7
 use Flynt\Utils\Asset;
8 8
 use Flynt\Utils\Options;
9 9
 
10
-add_action('init', function () {
10
+add_action('init', function() {
11 11
     register_nav_menus([
12 12
         'navigation_footer_columns' => __('Navigation Footer Columns', 'flynt')
13 13
     ]);
14 14
 });
15 15
 
16
-add_filter('Flynt/addComponentData?name=NavigationFooterColumns', function ($data) {
16
+add_filter('Flynt/addComponentData?name=NavigationFooterColumns', function($data) {
17 17
     $area = 'navigation_footer_columns';
18 18
     $id = 1;
19 19
     $menu = new Menu($area);
Please login to merge, or discard this patch.
inc/menu.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,10 @@
 block discarded – undo
3 3
 function menuOptions()
4 4
 {
5 5
     $screen = get_current_screen();
6
-    if ($screen->id != 'nav-menus') // phpcs:ignore
6
+    if ($screen->id != 'nav-menus') {
7
+        // phpcs:ignore
7 8
         return;
9
+    }
8 10
     ?>
9 11
     <script type="text/javascript">
10 12
         jQuery(function($) {
Please login to merge, or discard this patch.