8000 bug #12208 Add missing argument (WouterJ) · symfony/symfony@c9cd76c · GitHub
[go: up one dir, main page]

Skip to content

Commit c9cd76c

Browse files
committed
bug #12208 Add missing argument (WouterJ)
This PR was merged into the 2.3 branch. Discussion ---------- Add missing argument `->dump` has 5 arguments (the 3th argument, the indent, was not provided in the twig extension). | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | let's see | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- ac696b8 Add missing argument
2 parents fb31e47 + ac696b8 commit c9cd76c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Extension/YamlExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function encode($input, $inline = 0, $dumpObjects = false)
3939
$dumper = new YamlDumper();
4040
}
4141

42-
return $dumper->dump($input, $inline, false, $dumpObjects);
42+
return $dumper->dump($input, $inline, 0, false, $dumpObjects);
4343
}
4444

4545
public function dump($value, $inline = 0, $dumpObjects = false)

0 commit comments

Comments
 (0)
0