Passed
Push — master ( e7c407...4524ca )
by
unknown
07:36 queued 03:34
created
functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 // This prevents unintended scrolling on pages with few content, when logged in.
24 24
 add_theme_support('admin-bar', array('callback' => '__return_false'));
25 25
 
26
-add_action('after_setup_theme', function () {
26
+add_action('after_setup_theme', function() {
27 27
     /**
28 28
      * Make theme available for translation.
29 29
      * Translations can be filed in the /languages/ directory.
Please login to merge, or discard this patch.
Components/FeatureGoogleAnalytics/functions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     return false;
16 16
 }
17 17
 
18
-add_filter('Flynt/addComponentData?name=FeatureGoogleAnalytics', function ($data) {
18
+add_filter('Flynt/addComponentData?name=FeatureGoogleAnalytics', function($data) {
19 19
     $googleAnalyticsOptions = Options::getGlobal('GoogleAnalytics');
20 20
 
21 21
     if ($googleAnalyticsOptions) {
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     return $data;
32 32
 });
33 33
 
34
-add_action('Flynt/thirdPartyCookies/initializeOptions', function () {
34
+add_action('Flynt/thirdPartyCookies/initializeOptions', function() {
35 35
     Options::addTranslatable('GoogleAnalytics', [
36 36
         [
37 37
             'label' => __('Accept Google Analytics label', 'flynt'),
@@ -43,12 +43,12 @@  discard block
 block discarded – undo
43 43
     ]);
44 44
 });
45 45
 
46
-add_action('wp_footer', function () {
46
+add_action('wp_footer', function() {
47 47
     $context = Timber::get_context();
48 48
     Timber::render_string('{{ renderComponent("FeatureGoogleAnalytics") }}', $context);
49 49
 });
50 50
 
51
-add_filter('Flynt/thirdPartyCookies', function ($features) {
51
+add_filter('Flynt/thirdPartyCookies', function($features) {
52 52
     $googleAnalyticsTranslatableOptions = Options::getTranslatable('GoogleAnalytics');
53 53
 
54 54
     $features = array_merge($features, [
Please login to merge, or discard this patch.