Test Failed
Push — feature-laravel-5.4 ( 61a401...1326fd )
by Kirill
03:29
created
app/Services/ContentRenderer/Support/HeadersNormalizer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Services\ContentRenderer\Support;
10 10
 
@@ -30,15 +30,15 @@  discard block
 block discarded – undo
30 30
      */
31 31
     protected function normalizeHeaders(): \Closure
32 32
     {
33
-        return function (string $body) {
34
-            return preg_replace_callback('/^(#+)\s+(.*?)\s*$/mius', function (array $matches) {
33
+        return function(string $body) {
34
+            return preg_replace_callback('/^(#+)\s+(.*?)\s*$/mius', function(array $matches) {
35 35
                 [$body, $level, $title] = $matches;
36 36
 
37 37
                 $size = $this->tags[
38 38
                     max(1, min(6, strlen($level)))
39 39
                 ];
40 40
 
41
-                return str_repeat('#', $size) . ' ' . $title;
41
+                return str_repeat('#', $size).' '.$title;
42 42
             }, $body);
43 43
         };
44 44
     }
Please login to merge, or discard this patch.