@@ -69,7 +69,7 @@ discard block  | 
                                                    ||
| 69 | 69 |              $title .= '(' . self::getCallerFile(2) . '):'; | 
                                                        
| 70 | 70 | $type = gettype($data);  | 
                                                        
| 71 | 71 | $output = json_encode($data);  | 
                                                        
| 72 | -            $result =  "<script>console.{$logType}('{$title}', '({$type})', {$output});</script>\n"; | 
                                                        |
| 72 | +            $result = "<script>console.{$logType}('{$title}', '({$type})', {$output});</script>\n"; | 
                                                        |
| 73 | 73 | self::echoDebug($result, $postpone);  | 
                                                        
| 74 | 74 | }  | 
                                                        
| 75 | 75 | }  | 
                                                        
@@ -110,7 +110,7 @@ discard block  | 
                                                    ||
| 110 | 110 | protected static function echoDebug($data, $postpone)  | 
                                                        
| 111 | 111 |      { | 
                                                        
| 112 | 112 |          if ($postpone) { | 
                                                        
| 113 | -            add_action('wp_footer', function () use ($data) { | 
                                                        |
| 113 | +            add_action('wp_footer', function() use ($data) { | 
                                                        |
| 114 | 114 | echo $data;  | 
                                                        
| 115 | 115 | }, 30);  | 
                                                        
| 116 | 116 |          } else { | 
                                                        
@@ -6,7 +6,7 @@  | 
                                                    ||
| 6 | 6 | |
| 7 | 7 | namespace Flynt\RemoveEditor;  | 
                                                        
| 8 | 8 | |
| 9 | -add_action('init', function () { | 
                                                        |
| 9 | +add_action('init', function() { | 
                                                        |
| 10 | 10 |      remove_post_type_support('page', 'editor'); | 
                                                        
| 11 | 11 |      remove_post_type_support('post', 'editor'); | 
                                                        
| 12 | 12 | });  | 
                                                        
@@ -6,7 +6,7 @@  | 
                                                    ||
| 6 | 6 | |
| 7 | 7 | namespace Flynt\HideProtectedPosts;  | 
                                                        
| 8 | 8 | |
| 9 | -add_action('pre_get_posts', function ($query) { | 
                                                        |
| 9 | +add_action('pre_get_posts', function($query) { | 
                                                        |
| 10 | 10 |      if (!$query->is_singular() && !is_admin()) { | 
                                                        
| 11 | 11 |          $query->set('has_password', false); | 
                                                        
| 12 | 12 | }  | 
                                                        
@@ -6,7 +6,7 @@  | 
                                                    ||
| 6 | 6 | |
| 7 | 7 | namespace Flynt\MimeTypes;  | 
                                                        
| 8 | 8 | |
| 9 | -add_filter('upload_mimes', function ($mimes) { | 
                                                        |
| 9 | +add_filter('upload_mimes', function($mimes) { | 
                                                        |
| 10 | 10 | $mimes['svg'] = 'image/svg+xml';  | 
                                                        
| 11 | 11 | return $mimes;  | 
                                                        
| 12 | 12 | });  | 
                                                        
@@ -15,7 +15,7 @@ discard block  | 
                                                    ||
| 15 | 15 | }  | 
                                                        
| 16 | 16 | }  | 
                                                        
| 17 | 17 | |
| 18 | -add_filter('wp_insert_post_data', function ($data, $postArr) { | 
                                                        |
| 18 | +add_filter('wp_insert_post_data', function($data, $postArr) { | 
                                                        |
| 19 | 19 | if (  | 
                                                        
| 20 | 20 | in_array(  | 
                                                        
| 21 | 21 | $postArr['post_type'],  | 
                                                        
@@ -37,7 +37,7 @@ discard block  | 
                                                    ||
| 37 | 37 | return $data;  | 
                                                        
| 38 | 38 | }, 99, 2);  | 
                                                        
| 39 | 39 | |
| 40 | -add_shortcode('flyntTheContent', function ($attrs) { | 
                                                        |
| 40 | +add_shortcode('flyntTheContent', function($attrs) { | 
                                                        |
| 41 | 41 | $postId = $attrs['id'];  | 
                                                        
| 42 | 42 | // in case the post id was not set correctly and is 0  | 
                                                        
| 43 | 43 |      if (!empty($postId)) { |