: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Pattern;
public function getOrdering() {
return isset($this->ordering) ? $this->ordering : 1000000;
* @param OrderableTrait[] $items
public static function uasort(&$items) {
* @param OrderableTrait $a
* @param OrderableTrait $b
public static function compare($a, $b) {
return $a->getOrdering() - $b->getOrdering();