Completed
Push — Component-MapsGoogle ( a0c43a...2345f8 )
by
unknown
02:09
created
Components/MapGoogle/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 use Flynt\Features\Components\Component;
6 6
 use Flynt\Features\Acf\OptionPages;
7 7
 
8
-add_action('wp_enqueue_scripts', function () {
8
+add_action('wp_enqueue_scripts', function() {
9 9
     $apiKey = OptionPages::get('globalOptions', 'feature', 'acf', 'googleMapsApiKey');
10 10
     $enqueuedAssets = [
11 11
         [
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     Component::enqueueAssets('MapGoogle', $enqueuedAssets);
28 28
 });
29 29
 
30
-add_filter('Flynt/addComponentData?name=MapGoogle', function ($data) {
30
+add_filter('Flynt/addComponentData?name=MapGoogle', function($data) {
31 31
     $data['infoContent'] = htmlspecialchars(json_encode($data['infoContent']));
32 32
     return $data;
33 33
 });
Please login to merge, or discard this patch.