Completed
Pull Request — master (#27)
by Fèvre
18:24 queued 15:49
created
app/Markdown/Table/TableRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, $inTightList = false)
22 22
     {
23 23
         if (!($block instanceof Table)) {
24
-            throw new \InvalidArgumentException('Incompatible block type: '.get_class($block));
24
+            throw new \InvalidArgumentException('Incompatible block type: ' . get_class($block));
25 25
         }
26 26
 
27 27
         $attrs = [];
@@ -33,6 +33,6 @@  discard block
 block discarded – undo
33 33
 
34 34
         $separator = $htmlRenderer->getOption('inner_separator', "\n");
35 35
 
36
-        return new HtmlElement('table', $attrs, $separator.$htmlRenderer->renderBlocks($block->children()).$separator);
36
+        return new HtmlElement('table', $attrs, $separator . $htmlRenderer->renderBlocks($block->children()) . $separator);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.