Passed
Push — master ( 33f024...4e8411 )
by
unknown
03:48
created
Components/NavigationMain/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 block discarded – undo
5 5
 use Timber;
6 6
 use Flynt\Utils\Asset;
7 7
 
8
-add_action('init', function () {
8
+add_action('init', function() {
9 9
     register_nav_menus([
10 10
         'navigation_main' => __('Navigation Main', 'flynt')
11 11
     ]);
12 12
 });
13 13
 
14
-add_filter('Flynt/addComponentData?name=NavigationMain', function ($data) {
14
+add_filter('Flynt/addComponentData?name=NavigationMain', function($data) {
15 15
     $data['menu'] = new Timber\Menu('navigation_main');
16 16
     $data['logo'] = [
17 17
         '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.
Components/NavigationBurger/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 Flynt\Utils\Options;
8 8
 
9
-add_action('init', function () {
9
+add_action('init', function() {
10 10
     register_nav_menus([
11 11
         'navigation_burger' => __('Navigation Burger', 'flynt')
12 12
     ]);
13 13
 });
14 14
 
15
-add_filter('Flynt/addComponentData?name=NavigationBurger', function ($data) {
15
+add_filter('Flynt/addComponentData?name=NavigationBurger', function($data) {
16 16
     $data['menu'] = new Timber\Menu('navigation_burger');
17 17
     $data['logo'] = [
18 18
         'src' => get_theme_mod('custom_header_logo') ? get_theme_mod('custom_header_logo') : Asset::requireUrl('Components/NavigationBurger/Assets/logo.svg'),
Please login to merge, or discard this patch.
inc/customizer-logo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * Add theme options to customizer
5 5
  */
6 6
 
7
-add_action('customize_register', function ($wp_customize) {
7
+add_action('customize_register', function($wp_customize) {
8 8
     // Add option to replace header logo
9 9
     $wp_customize->add_setting(
10 10
         'custom_header_logo',
Please login to merge, or discard this patch.