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