Passed
Push — master ( 533f19...962f84 )
by Markus
07:09 queued 02:25
created
Components/SliderImageGallery/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Flynt\Api;
6 6
 use Flynt\Utils\Options;
7 7
 
8
-add_filter('Flynt/addComponentData?name=SliderImageGallery', function ($data) {
8
+add_filter('Flynt/addComponentData?name=SliderImageGallery', function($data) {
9 9
     $data['jsonData'] = [
10 10
         'options' => Options::get('translatableOptions', 'feature', 'SliderOptions')
11 11
     ];
Please login to merge, or discard this patch.
Components/GridPostsArchive/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 const POST_TYPE = 'post';
10 10
 const FILTER_BY_TAXONOMY = 'category';
11 11
 
12
-add_filter('Flynt/addComponentData?name=GridPostsArchive', function ($data) {
12
+add_filter('Flynt/addComponentData?name=GridPostsArchive', function($data) {
13 13
     $postType = POST_TYPE;
14 14
     $taxonomy = FILTER_BY_TAXONOMY;
15 15
     $terms = get_terms([
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     ]);
19 19
     $queriedObject = get_queried_object();
20 20
     if (count($terms) > 1) {
21
-        $data['terms'] = array_map(function ($term) use ($queriedObject) {
21
+        $data['terms'] = array_map(function($term) use ($queriedObject) {
22 22
             $timberTerm = new Term($term);
23 23
             if ($queriedObject) {
24 24
                 $timberTerm->isActive = $queriedObject->taxonomy === $term->taxonomy && $queriedObject->term_id === $term->term_id;
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $data['isHome'] = true;
38 38
         $data['title'] = $queriedObject->post_title ?? get_bloginfo('name');
39 39
     } else {
40
-        $data['title'] =  get_the_archive_title();
40
+        $data['title'] = get_the_archive_title();
41 41
         $data['description'] = get_the_archive_description();
42 42
     }
43 43
 
Please login to merge, or discard this patch.
Components/BlockCountUp/functions.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -385,12 +385,12 @@
 block discarded – undo
385 385
         'type' => 'text',
386 386
         'required' => 1,
387 387
         'default_value' => ','
388
-      ],
389
-      [
388
+        ],
389
+        [
390 390
         'label' => 'Thousands Separator',
391 391
         'name' => 'thousandsSeparator',
392 392
         'type' => 'text',
393 393
         'required' => 1,
394 394
         'default_value' => '.'
395
-      ]
395
+        ]
396 396
 ]);
Please login to merge, or discard this patch.