Passed
Pull Request — master (#53)
by
unknown
04:05
created
inc/theContentFix.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  use Timber\Timber;
4 4
  use Timber\Post;
5 5
 
6
-add_filter('wp_insert_post_data', function ($data, $postArr) {
6
+add_filter('wp_insert_post_data', function($data, $postArr) {
7 7
     if ($postArr['post_type'] === 'revision') {
8 8
         return $data;
9 9
     }
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     return $data;
14 14
 }, 99, 2);
15 15
 
16
-add_shortcode('flyntTheContent', function ($attrs) {
16
+add_shortcode('flyntTheContent', function($attrs) {
17 17
     $postId = $attrs['id'];
18 18
     $context = Timber::get_context();
19 19
     $context['post'] = $post = new Post($postId);
Please login to merge, or discard this patch.
inc/twigReadingTime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Flynt\Utils\TwigReadingTimeExtension;
6 6
 
7
-add_filter('get_twig', function ($twig) {
7
+add_filter('get_twig', function($twig) {
8 8
     $twig->addExtension(new TwigReadingTimeExtension());
9 9
     return $twig;
10 10
 });
Please login to merge, or discard this patch.
Components/GridPostsLatest/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 const POST_TYPE = 'post';
10 10
 
11
-add_filter('Flynt/addComponentData?name=GridPostsLatest', function ($data) {
11
+add_filter('Flynt/addComponentData?name=GridPostsLatest', function($data) {
12 12
     $postType = POST_TYPE;
13 13
 
14 14
     $data['items'] = Timber::get_posts([
Please login to merge, or discard this patch.