Compare commits

..

No commits in common. "af212b07ca200fe03ddcbfe6dd9fbf26d72828bf" and "08211282c2576b21f6119293ed9b9a11fbe2be58" have entirely different histories.

View File

@ -70,7 +70,7 @@ if (! class_exists("%NAMESPACE%\%CLASSNAME%", false) ) {
$result = []; $result = [];
foreach([ 'prepend', 'default', 'append' ] as $item) { foreach([ 'prepend', 'default', 'append' ] as $item) {
if ( !isset($this->sectionList[$name][$item]) || ! is_array($this->sectionList[$name][$item]) ) continue; if ( ! is_array($this->sectionList[$name][$item]) ) continue;
usort($this->sectionList[$name][$item], fn($a, $b) => $a['order'] <=> $b['order']); usort($this->sectionList[$name][$item], fn($a, $b) => $a['order'] <=> $b['order']);