Completed
Pull Request — master (#27)
by Fèvre
18:24 queued 15:49
created
app/Markdown/Emoji/EmojiExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * Returns a list of inline parsers to add to the existing list.
27 27
      *
28
-     * @return \League\CommonMark\Inline\Parser\InlineParserInterface
28
+     * @return EmojiParser[]
29 29
      */
30 30
     public function getInlineParsers()
31 31
     {
Please login to merge, or discard this patch.
app/Markdown/Emoji/EmojiParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Get the characters that must be matched.
44 44
      *
45
-     * @return array
45
+     * @return string[]
46 46
      */
47 47
     public function getCharacters()
48 48
     {
Please login to merge, or discard this patch.
app/Markdown/Table/TableExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * Returns a list of block parsers to add to the existing list.
15 15
      *
16
-     * @return \League\CommonMark\Block\Parser\AbstractBlockParser
16
+     * @return TableParser[]
17 17
      */
18 18
     public function getBlockParsers()
19 19
     {
Please login to merge, or discard this patch.
app/Markdown/TaskLists/TaskListsExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * Returns a list of inline parsers to add to the existing list.
39 39
      *
40
-     * @return \League\CommonMark\Inline\Parser\InlineParserInterface
40
+     * @return TaskListsParser[]
41 41
      */
42 42
     public function getInlineParsers()
43 43
     {
Please login to merge, or discard this patch.
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.
app/Markdown/TaskLists/TaskListsParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * Get the characters that must be matched.
44 44
      *
45
-     * @return array
45
+     * @return string[]
46 46
      */
47 47
     public function getCharacters()
48 48
     {
Please login to merge, or discard this patch.