you should typehint the map as array as passing anything else would break in array_merge anyway