original_string: protected function bindValues($values) {
          if(is_array($values)) {
              foreach($values as $i => $value) {
                  if(is_numeric($value) && intval($value) == $value && $value[0] != 0) {$type = PDO::PARAM_INT; $value = intval($value);}
                  elseif(is_null($value) || $value === 'NULL') {$type = PDO::PARAM_NULL; $value = NULL;}
                  elseif(is_bool($value)) {$type = PDO::PARAM_BOOL;}
                  else{$type = PDO::PARAM_STR;}
                  $this->query->bindValue(intval($i + 1), $value, $type);
              }
          }
      }
code: protected function bindValues($values) {
          if(is_array($values)) {
              foreach($values as $i => $value) {
                  if(is_numeric($value) && intval($value) == $value && $value[0] != 0) {$type = PDO::PARAM_INT; $value = intval($value);}
                  elseif(is_null($value) || $value === 'NULL') {$type = PDO::PARAM_NULL; $value = NULL;}
                  elseif(is_bool($value)) {$type = PDO::PARAM_BOOL;}
                  else{$type = PDO::PARAM_STR;}
                  $this->query->bindValue(intval($i + 1), $value, $type);
              }
          }
      }
code_tokens: protected function bindValues ( $ values ) { if ( is_array ( $ values ) ) { foreach ( $ values as $ i => $ value ) { if ( is_numeric ( $ value ) && intval ( $ value ) == $ value && $ value [ 0 ] != 0 ) { $ type = PDO :: PARAM_INT ; $ value = intval ( $ value ) ; } elseif ( is_null ( $ value ) || $ value === 'NULL' ) { $ type = PDO :: PARAM_NULL ; $ value = NULL ; } elseif ( is_bool ( $ value ) ) { $ type = PDO :: PARAM_BOOL ; } else { $ type = PDO :: PARAM_STR ; } $ this -> query -> bindValue ( intval ( $ i + 1 ) , $ value , $ type ) ; } } }
docstring: Band values to use in the query
  @param array $values This should be the values being used in the query
docstring_tokens: Band values to use in the query