mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
N°5122 - Minor libs update according to new PHP min version
This commit is contained in:
@@ -276,9 +276,7 @@ class PriorityList implements Iterator, Countable
|
||||
}
|
||||
|
||||
return array_map(
|
||||
function ($item) use ($flag) {
|
||||
return $flag === PriorityList::EXTR_PRIORITY ? $item['priority'] : $item['data'];
|
||||
},
|
||||
static fn($item) => $flag === self::EXTR_PRIORITY ? $item['priority'] : $item['data'],
|
||||
$this->items
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user