original_string: public static function getType($extension) {
          foreach (self::$map as $mime => $exts) {
              if (in_array(strtolower($extension), $exts)) {
                  return $mime;
              }
          }
          return null;
      }
code: public static function getType($extension) {
          foreach (self::$map as $mime => $exts) {
              if (in_array(strtolower($extension), $exts)) {
                  return $mime;
              }
          }
          return null;
      }
code_tokens: public static function getType ( $ extension ) { foreach ( self :: $ map as $ mime => $ exts ) { if ( in_array ( strtolower ( $ extension ) , $ exts ) ) { return $ mime ; } } return null ; }
docstring: Retruns MIME type belonging to given file extension or null if not found.
  
  @static
  @param $extension
  @return null|string
docstring_tokens: Retruns MIME type belonging to given file extension or null if not found .