#91154null coalescing operator wrongly used when doing typecasts
Description
Searched through the code and found a couple wrongly used typecast in combination with null coalescing operator:
Like:
(int) $arr['number'] ?? 0
Should better be
(int) ($arr['number'] ?? 0)