Passed
Push — master ( b4b8c9...6e3fbb )
by Doğa
07:34 queued 03:37
created
Components/ListLogos/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Flynt\Api;
6 6
 
7
-add_filter('Flynt/addComponentData?name=ListLogos', function ($data) {
7
+add_filter('Flynt/addComponentData?name=ListLogos', function($data) {
8 8
 
9 9
     if (!empty($data['items'])) {
10
-        $data['items'] = array_map(function ($item) {
10
+        $data['items'] = array_map(function($item) {
11 11
             if (isset($item['image']->post_mime_type) && $item['image']->post_mime_type === 'image/svg+xml') {
12 12
                 $path = get_attached_file($item['image']->ID);
13 13
                 $item['image']->svg = file_get_contents($path);
Please login to merge, or discard this patch.