Completed
Push — Component-MapsGoogle ( 1e0877...c92ec6 )
by
unknown
02:18
created
Components/MapGoogle/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 use Flynt\Features\Acf\OptionPages;
7 7
 use Flynt\Utils\Asset;
8 8
 
9
-add_action('wp_enqueue_scripts', function () {
9
+add_action('wp_enqueue_scripts', function() {
10 10
     Component::enqueueAssets('MapGoogle', [
11 11
         [
12 12
             'type' => 'script',
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     ]);
18 18
 });
19 19
 
20
-add_filter('Flynt/addComponentData?name=MapGoogle', function ($data) {
20
+add_filter('Flynt/addComponentData?name=MapGoogle', function($data) {
21 21
     if (!empty($data['infoContent'])) {
22 22
         $data['infoContent'] = htmlspecialchars(json_encode($data['infoContent']));
23 23
     }
Please login to merge, or discard this patch.