Skip to content

Commit 50cf2c6

Browse files
committed
Fix implode under PHP 7.4
1 parent b91952f commit 50cf2c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/DocumentParsers/MarkdownDocumentParserTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ public function can_parse_markdown_from_content()
2424
/** @test */
2525
public function indents_are_not_treated_as_code_blocks()
2626
{
27-
$doc = new Document('id', implode([
27+
$doc = new Document('id', implode("\n", [
2828
'# Heading 1',
2929
'',
3030
' <span>this is not a code block</span>',
3131
'',
3232
'Closing paragraph',
33-
], "\n"));
33+
]));
3434

3535
$parser = new MarkdownDocumentParser();
3636

0 commit comments

Comments
 (0)