Patch: Update footnote sorting method reference
Use static method reference for footnote sorting
This commit is contained in:
parent
1db80ebf38
commit
f94b50f298
1 changed files with 1 additions and 1 deletions
2
app/vendor/ParsedownExtra.php
vendored
2
app/vendor/ParsedownExtra.php
vendored
|
|
@ -508,7 +508,7 @@ class ParsedownExtra extends Parsedown
|
|||
),
|
||||
);
|
||||
|
||||
uasort($this->DefinitionData['Footnote'], 'self::sortFootnotes');
|
||||
uasort($this->DefinitionData['Footnote'], [$this, 'sortFootnotes']);
|
||||
|
||||
foreach ($this->DefinitionData['Footnote'] as $definitionId => $DefinitionData)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue