original_string: protected function addWhere(QueryBuilder $query, $key, $extraValue)
      {
          if ($extraValue === 'NULL') {
              $query->whereNull($key);
          } elseif ($extraValue === 'NOT_NULL') {
              $query->whereNotNull($key);
          } else {
              $query->where($key, $extraValue);
          }
      }
code: protected function addWhere(QueryBuilder $query, $key, $extraValue)
      {
          if ($extraValue === 'NULL') {
              $query->whereNull($key);
          } elseif ($extraValue === 'NOT_NULL') {
              $query->whereNotNull($key);
          } else {
              $query->where($key, $extraValue);
          }
      }
code_tokens: protected function addWhere ( QueryBuilder $ query , $ key , $ extraValue ) { if ( $ extraValue === 'NULL' ) { $ query -> whereNull ( $ key ) ; } elseif ( $ extraValue === 'NOT_NULL' ) { $ query -> whereNotNull ( $ key ) ; } else { $ query -> where ( $ key , $ extraValue ) ; } }
docstring: Add a "WHERE" clause to the given query.
  
  @param  \Nova\Database\Query\Builder  $query
  @param  string  $key
  @param  string  $extraValue
  @return void
docstring_tokens: Add a WHERE clause to the given query .