original_string: protected function adjustCaseInsensitive(&$value, &$parameters) {
          $parameterAmount = count($parameters);
          if ($parameterAmount == 1 || $parameterAmount > 1 && $parameters[1]) {
              $parameters[0] = strtolower($parameters[0]);
              $value         = strtolower($value);
          }
      }
code: protected function adjustCaseInsensitive(&$value, &$parameters) {
          $parameterAmount = count($parameters);
          if ($parameterAmount == 1 || $parameterAmount > 1 && $parameters[1]) {
              $parameters[0] = strtolower($parameters[0]);
              $value         = strtolower($value);
          }
      }
code_tokens: protected function adjustCaseInsensitive ( & $ value , & $ parameters ) { $ parameterAmount = count ( $ parameters ) ; if ( $ parameterAmount == 1 || $ parameterAmount > 1 && $ parameters [ 1 ] ) { $ parameters [ 0 ] = strtolower ( $ parameters [ 0 ] ) ; $ value = strtolower ( $ value ) ; } }
docstring: Adjusts value and parameters to be case insensitive if the second
  parameter says so or is not given.
  
  @param mixed $value
  the value to validate
  
  @param array $parameters
  the other parameters the validator need
docstring_tokens: Adjusts value and parameters to be case insensitive if the second parameter says so or is not given .