Passed
Push — master ( f82743...00f9f6 )
by
unknown
03:43
created
Components/NavigationFooter/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 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
 
Please login to merge, or discard this patch.
inc/shortcodes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 });
Please login to merge, or discard this patch.