Completed
Push — componentlibrary ( db28fa...7d4415 )
by
unknown
01:53
created
Components/NavigationFooter/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,14 +5,14 @@
 block discarded – undo
5 5
 use Flynt\Features\Components\Component;
6 6
 use Timber\Menu;
7 7
 
8
-add_action('init', function () {
8
+add_action('init', function() {
9 9
     register_nav_menus([
10 10
         'navigation_footer' => __('Navigation Footer', 'flynt-starter-theme')
11 11
     ]);
12 12
 });
13 13
 
14
-add_filter('Flynt/addComponentData?name=NavigationFooter', function ($data) {
15
-    add_action('wp_enqueue_scripts', function () {
14
+add_filter('Flynt/addComponentData?name=NavigationFooter', function($data) {
15
+    add_action('wp_enqueue_scripts', function() {
16 16
         Component::enqueueAssets('NavigationFooter');
17 17
     });
18 18
 
Please login to merge, or discard this patch.
Components/NavigationMain/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,14 +5,14 @@
 block discarded – undo
5 5
 use Flynt\Features\Components\Component;
6 6
 use Timber\Menu;
7 7
 
8
-add_action('init', function () {
8
+add_action('init', function() {
9 9
     register_nav_menus([
10 10
         'navigation_main' => __('Navigation Main', 'flynt-starter-theme')
11 11
     ]);
12 12
 });
13 13
 
14
-add_filter('Flynt/addComponentData?name=NavigationMain', function ($data) {
15
-    add_action('wp_enqueue_scripts', function () {
14
+add_filter('Flynt/addComponentData?name=NavigationMain', function($data) {
15
+    add_action('wp_enqueue_scripts', function() {
16 16
         Component::enqueueAssets('NavigationFooter');
17 17
     });
18 18
 
Please login to merge, or discard this patch.