Completed
Pull Request — master (#216)
by
unknown
04:03
created
Components/FeatureGoogleAnalytics/functions.php 1 patch
Spacing   +3 added lines, -3 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) {
@@ -32,12 +32,12 @@  discard block
 block discarded – undo
32 32
     return $data;
33 33
 });
34 34
 
35
-add_action('wp_footer', function () {
35
+add_action('wp_footer', function() {
36 36
     $context = Timber::get_context();
37 37
     Timber::render_string('{{ renderComponent("FeatureGoogleAnalytics") }}', $context);
38 38
 });
39 39
 
40
-add_filter('Flynt/thirdPartyCookies', function ($features) {
40
+add_filter('Flynt/thirdPartyCookies', function($features) {
41 41
     $features = array_merge($features, ['statistics' => 'statistics']);
42 42
     return $features;
43 43
 });
Please login to merge, or discard this patch.