fix nullsafe value the hard way
This commit is contained in:
parent
2fc1489a28
commit
5f6f4a9fb9
@ -110,7 +110,7 @@ class Uninstaller
|
||||
}
|
||||
uasort(
|
||||
$this->modules,
|
||||
fn ($a, $b) => Text::removeDiacritics(mb_strtolower($a->get('name'))) <=> Text::removeDiacritics(mb_strtolower($b->get('name')))
|
||||
fn ($a, $b) => Text::removeDiacritics(mb_strtolower(is_string($a->get('name')) ? $a->get('name') : $a->getId())) <=> Text::removeDiacritics(mb_strtolower(is_string($b->get('name')) ? $b->get('name') : $b->getId()))
|
||||
);
|
||||
|
||||
return $this;
|
||||
|
Loading…
Reference in New Issue
Block a user