File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ The list of supported options:
60
60
* ``floor ``: Floor rounding
61
61
* ``down ``: Rounding towards zero
62
62
* ``up ``: Rounding away from zero
63
- * ``half_even ``: Round halves to the nearest even integer
64
- * ``half_up ``: Round halves up
65
- * ``half_down ``: Round halves down
63
+ * ``halfeven ``: Round halves to the nearest even integer
64
+ * ``halfup ``: Round halves up
65
+ * ``halfdown ``: Round halves down
66
66
67
67
.. code-block :: twig
68
68
Original file line number Diff line number Diff line change 12
12
namespace Twig \Extra \Markdown ;
13
13
14
14
use League \CommonMark \CommonMarkConverter ;
15
+ use League \CommonMark \MarkdownConverter ;
15
16
16
17
class LeagueMarkdown implements MarkdownInterface
17
18
{
18
19
private $ converter ;
19
20
private $ legacySupport ;
20
21
21
- public function __construct (?CommonMarkConverter $ converter = null )
22
+ public function __construct (?MarkdownConverter $ converter = null )
22
23
{
23
24
$ this ->converter = $ converter ?: new CommonMarkConverter ();
24
25
$ this ->legacySupport = !method_exists ($ this ->converter , 'convert ' );
You can’t perform that action at this time.
0 commit comments