original_string: public static function getExtensions(string $mime) : array
      {
          $extensions = [];
  
          foreach (static::$_types as $extension => $mimeType) {
              if ($mimeType === $mime) {
                  $extensions[] = $extension;
              }
          }
  
          return $extensions;
      }
code: public static function getExtensions(string $mime) : array
      {
          $extensions = [];
  
          foreach (static::$_types as $extension => $mimeType) {
              if ($mimeType === $mime) {
                  $extensions[] = $extension;
              }
          }
  
          return $extensions;
      }
code_tokens: public static function getExtensions ( string $ mime ) : array { $ extensions = [ ] ; foreach ( static :: $ _types as $ extension => $ mimeType ) { if ( $ mimeType === $ mime ) { $ extensions [ ] = $ extension ; } } return $ extensions ; }
docstring: Get extensions for one mime
  
  @param string $mime
  
  @return array
docstring_tokens: Get extensions for one mime