mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
PHP < 7 compat
Don't use token name for function name Remove return typehint Remove parameter typehints
This commit is contained in:
@ -537,7 +537,7 @@ class Parsedown
|
||||
'name' => 'li',
|
||||
'handler' => [
|
||||
'function' => 'li',
|
||||
'argument' => !empty($matches[3]) ? Lines::fromTextLines($matches[3], 0) : Lines::empty(),
|
||||
'argument' => !empty($matches[3]) ? Lines::fromTextLines($matches[3], 0) : Lines::none(),
|
||||
'destination' => 'elements'
|
||||
]
|
||||
];
|
||||
|
Reference in New Issue
Block a user