protected function coerceMap($item)
    {
        if ($item[0] === Type::T_MAP) {
            return $item;
        }

        if ($item === static::$emptyList) {
            return static::$emptyMap;
        }

        return [Type::T_MAP, [$item], [static::$null]];
    }
protected function coerceMap($item)
    {
        if ($item[0] === Type::T_MAP) {
            return $item;
        }

        if ($item === static::$emptyList) {
            return static::$emptyMap;
        }

        return [Type::T_MAP, [$item], [static::$null]];
    }
protected function coerceMap ( $ item ) { if ( $ item [ 0 ] === Type :: T_MAP ) { return $ item ; } if ( $ item === static :: $ emptyList ) { return static :: $ emptyMap ; } return [ Type :: T_MAP , [ $ item ] , [ static :: $ null ] ] ; }
Coerce something to map

@param array $item

@return array
Coerce something to map