original_string: protected function getTypeOfInput($rulesOfInput)
      {
          foreach ($rulesOfInput as $key => $rule) {
              $parsedRule = $this->parseValidationRule($rule);
  
              if (in_array($parsedRule['name'], static::$numericRules)) {
                  return 'numeric';
              } elseif ($parsedRule['name'] === 'array') {
                  return 'array';
              } elseif (in_array($parsedRule['name'], static::$fileRules)) {
                  return 'file';
              }
          }
  
          return 'string';
      }
code: protected function getTypeOfInput($rulesOfInput)
      {
          foreach ($rulesOfInput as $key => $rule) {
              $parsedRule = $this->parseValidationRule($rule);
  
              if (in_array($parsedRule['name'], static::$numericRules)) {
                  return 'numeric';
              } elseif ($parsedRule['name'] === 'array') {
                  return 'array';
              } elseif (in_array($parsedRule['name'], static::$fileRules)) {
                  return 'file';
              }
          }
  
          return 'string';
      }
code_tokens: protected function getTypeOfInput ( $ rulesOfInput ) { foreach ( $ rulesOfInput as $ key => $ rule ) { $ parsedRule = $ this -> parseValidationRule ( $ rule ) ; if ( in_array ( $ parsedRule [ 'name' ] , static :: $ numericRules ) ) { return 'numeric' ; } elseif ( $ parsedRule [ 'name' ] === 'array' ) { return 'array' ; } elseif ( in_array ( $ parsedRule [ 'name' ] , static :: $ fileRules ) ) { return 'file' ; } } return 'string' ; }
docstring: Get all rules and return type of input if rule specifies type
  
  @param array
  @return string
docstring_tokens: Get all rules and return type of input if rule specifies type