@@ -6,13 +6,13 @@  | 
                                                    ||
| 6 | 6 | use Timber\Menu;  | 
                                                        
| 7 | 7 | use Flynt\Shortcodes;  | 
                                                        
| 8 | 8 | |
| 9 | -add_action('init', function () { | 
                                                        |
| 9 | +add_action('init', function() { | 
                                                        |
| 10 | 10 | register_nav_menus([  | 
                                                        
| 11 | 11 |          'navigation_footer' => __('Navigation Footer', 'flynt') | 
                                                        
| 12 | 12 | ]);  | 
                                                        
| 13 | 13 | });  | 
                                                        
| 14 | 14 | |
| 15 | -add_filter('Flynt/addComponentData?name=NavigationFooter', function ($data) { | 
                                                        |
| 15 | +add_filter('Flynt/addComponentData?name=NavigationFooter', function($data) { | 
                                                        |
| 16 | 16 | $data['maxLevel'] = 0;  | 
                                                        
| 17 | 17 |      $data['menu'] = new Menu('navigation_footer'); | 
                                                        
| 18 | 18 | |
@@ -9,7 +9,7 @@ discard block  | 
                                                    ||
| 9 | 9 | /**  | 
                                                        
| 10 | 10 | * Current year  | 
                                                        
| 11 | 11 | */  | 
                                                        
| 12 | -add_shortcode('year', function () { | 
                                                        |
| 12 | +add_shortcode('year', function() { | 
                                                        |
| 13 | 13 |      $year = date_i18n('Y'); | 
                                                        
| 14 | 14 | return $year;  | 
                                                        
| 15 | 15 | });  | 
                                                        
@@ -17,7 +17,7 @@ discard block  | 
                                                    ||
| 17 | 17 | /**  | 
                                                        
| 18 | 18 | * Site Title  | 
                                                        
| 19 | 19 | */  | 
                                                        
| 20 | -add_shortcode('sitetitle', function () { | 
                                                        |
| 20 | +add_shortcode('sitetitle', function() { | 
                                                        |
| 21 | 21 |      $blogname = get_bloginfo('name'); | 
                                                        
| 22 | 22 | return $blogname;  | 
                                                        
| 23 | 23 | });  | 
                                                        
@@ -25,7 +25,7 @@ discard block  | 
                                                    ||
| 25 | 25 | /**  | 
                                                        
| 26 | 26 | * Tagline  | 
                                                        
| 27 | 27 | */  | 
                                                        
| 28 | -add_shortcode('tagline', function () { | 
                                                        |
| 28 | +add_shortcode('tagline', function() { | 
                                                        |
| 29 | 29 |      $tagline = get_bloginfo('description'); | 
                                                        
| 30 | 30 | return $tagline;  | 
                                                        
| 31 | 31 | });  |