Passed
Push — master ( c7a763...70f7e7 )
by
unknown
15:58 queued 11:11
created
Components/NavigationMain/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 use Flynt\Utils\Asset;
7 7
 use Timber\Menu;
8 8
 
9
-add_action('init', function () {
9
+add_action('init', function() {
10 10
     register_nav_menus([
11 11
         'navigation_main' => __('Navigation Main', 'flynt')
12 12
     ]);
13 13
 });
14 14
 
15
-add_filter('Flynt/addComponentData?name=NavigationMain', function ($data) {
15
+add_filter('Flynt/addComponentData?name=NavigationMain', function($data) {
16 16
     $data['menu'] = new Menu('navigation_main');
17 17
     $data['logo'] = [
18 18
         'src' => get_theme_mod('custom_header_logo') ? get_theme_mod('custom_header_logo') : Asset::requireUrl('Components/NavigationMain/Assets/logo.svg'),
Please login to merge, or discard this patch.