original_string: 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]];
      }
code: 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]];
      }
code_tokens: 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 ] ] ; }
docstring: Coerce something to map
  
  @param array $item
  
  @return array
docstring_tokens: Coerce something to map