original_string: public function query(Query $query = null)
      {
          deprecationWarning(
              'ValuesExpression::query() is deprecated. ' .
              'Use ValuesExpression::setQuery()/getQuery() instead.'
          );
          if ($query !== null) {
              return $this->setQuery($query);
          }
  
          return $this->getQuery();
      }
code: public function query(Query $query = null)
      {
          deprecationWarning(
              'ValuesExpression::query() is deprecated. ' .
              'Use ValuesExpression::setQuery()/getQuery() instead.'
          );
          if ($query !== null) {
              return $this->setQuery($query);
          }
  
          return $this->getQuery();
      }
code_tokens: public function query ( Query $ query = null ) { deprecationWarning ( 'ValuesExpression::query() is deprecated. ' . 'Use ValuesExpression::setQuery()/getQuery() instead.' ) ; if ( $ query !== null ) { return $ this -> setQuery ( $ query ) ; } return $ this -> getQuery ( ) ; }
docstring: Sets the query object to be used as the values expression to be evaluated
  to insert records in the table. If no params are passed, then it returns
  the currently stored query
  
  @deprecated 3.4.0 Use setQuery()/getQuery() instead.
  @param \Cake\Database\Query|null $query The query to set
  @return \Cake\Database\Query|null|$this
docstring_tokens: Sets the query object to be used as the values expression to be evaluated to insert records in the table . If no params are passed then it returns the currently stored query