original_string: protected function addArrayOfWheres($column, $boolean, $method = 'where')
      {
          return $this->whereNested(function ($query) use ($column, $method, $boolean) {
              foreach ($column as $key => $value) {
                  if (is_numeric($key) && is_array($value)) {
                      $query->{$method}(...array_values($value));
                  } else {
                      $query->$method($key, '=', $value, $boolean);
                  }
              }
          }, $boolean);
      }
code: protected function addArrayOfWheres($column, $boolean, $method = 'where')
      {
          return $this->whereNested(function ($query) use ($column, $method, $boolean) {
              foreach ($column as $key => $value) {
                  if (is_numeric($key) && is_array($value)) {
                      $query->{$method}(...array_values($value));
                  } else {
                      $query->$method($key, '=', $value, $boolean);
                  }
              }
          }, $boolean);
      }
code_tokens: protected function addArrayOfWheres ( $ column , $ boolean , $ method = 'where' ) { return $ this -> whereNested ( function ( $ query ) use ( $ column , $ method , $ boolean ) { foreach ( $ column as $ key => $ value ) { if ( is_numeric ( $ key ) && is_array ( $ value ) ) { $ query -> { $ method } ( ... array_values ( $ value ) ) ; } else { $ query -> $ method ( $ key , '=' , $ value , $ boolean ) ; } } } , $ boolean ) ; }
docstring: Add an array of where clauses to the query.
  
  @param  array  $column
  @param  string  $boolean
  @param  string  $method
  @return $this
docstring_tokens: Add an array of where clauses to the query .