original_string: public function whereNot(\Closure $callback, string $appendRule = 'AND'): self
      {
          $groupQuery = $this->resolveCriteriaGroupClosure($callback);
          $this->where[] = new CriteriaCriterion($groupQuery->where, true, $appendRule);
          return $this;
      }
code: public function whereNot(\Closure $callback, string $appendRule = 'AND'): self
      {
          $groupQuery = $this->resolveCriteriaGroupClosure($callback);
          $this->where[] = new CriteriaCriterion($groupQuery->where, true, $appendRule);
          return $this;
      }
code_tokens: public function whereNot ( \ Closure $ callback , string $ appendRule = 'AND' ) : self { $ groupQuery = $ this -> resolveCriteriaGroupClosure ( $ callback ) ; $ this -> where [ ] = new CriteriaCriterion ( $ groupQuery -> where , true , $ appendRule ) ; return $ this ; }
docstring: Adds a group of criteria wrapped by NOT.
  
  @param \Closure $callback Makes a group of criteria
  @param string $appendRule How the criterion should be appended to the others (SQL boolean operator name)
  @return $this
  @throws InvalidReturnValueException
docstring_tokens: Adds a group of criteria wrapped by NOT .