Passed
Pull Request — master (#43)
by Dominik
17:10 queued 11:27
created
templates/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     $queriedPost = get_queried_object();
17 17
     $context['title'] = $queriedPost->post_title;
18 18
 } else {
19
-    $context['title'] =  get_the_archive_title();
19
+    $context['title'] = get_the_archive_title();
20 20
     $context['description'] = get_the_archive_description();
21 21
 }
22 22
 
Please login to merge, or discard this patch.
Components/GridPosts/functions.php 1 patch
Spacing   +2 added lines, -2 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=GridPosts', function ($data) {
12
+add_filter('Flynt/addComponentData?name=GridPosts', function($data) {
13 13
     $postType = POST_TYPE;
14 14
     $taxonomy = FILTER_BY_TAXONOMY;
15 15
     $terms = get_terms([
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         'hide_empty' => true,
18 18
     ]);
19 19
     $queriedObject = get_queried_object();
20
-    $data['terms'] = array_map(function ($term) use ($queriedObject) {
20
+    $data['terms'] = array_map(function($term) use ($queriedObject) {
21 21
         $timberTerm = new Term($term);
22 22
         $timberTerm->isActive = $queriedObject->taxonomy === $term->taxonomy && $queriedObject->term_id === $term->term_id;
23 23
         return $timberTerm;
Please login to merge, or discard this patch.