original_string: public function allow($type)
      {
          if (!is_array($type)) {
              $type = func_get_args();
          }
          $this->allowedTypes = implode(',', $type);
  
          return $this;
      }
code: public function allow($type)
      {
          if (!is_array($type)) {
              $type = func_get_args();
          }
          $this->allowedTypes = implode(',', $type);
  
          return $this;
      }
code_tokens: public function allow ( $ type ) { if ( ! is_array ( $ type ) ) { $ type = func_get_args ( ) ; } $ this -> allowedTypes = implode ( ',' , $ type ) ; return $ this ; }
docstring: Allow only specific types.
  
  @param array|string ...$type can be an array or multiple string parameters
  
  @return Uploadable
docstring_tokens: Allow only specific types .