original_string: public function joinType($type = null)
      {
          deprecationWarning(
              get_called_class() . '::joinType() is deprecated. ' .
              'Use setJoinType()/getJoinType() instead.'
          );
          if ($type !== null) {
              $this->setJoinType($type);
          }
  
          return $this->getJoinType();
      }
code: public function joinType($type = null)
      {
          deprecationWarning(
              get_called_class() . '::joinType() is deprecated. ' .
              'Use setJoinType()/getJoinType() instead.'
          );
          if ($type !== null) {
              $this->setJoinType($type);
          }
  
          return $this->getJoinType();
      }
code_tokens: public function joinType ( $ type = null ) { deprecationWarning ( get_called_class ( ) . '::joinType() is deprecated. ' . 'Use setJoinType()/getJoinType() instead.' ) ; if ( $ type !== null ) { $ this -> setJoinType ( $ type ) ; } return $ this -> getJoinType ( ) ; }
docstring: Sets the type of join to be used when adding the association to a query.
  If no arguments are passed, the currently configured type is returned.
  
  @deprecated 3.4.0 Use setJoinType()/getJoinType() instead.
  @param string|null $type the join type to be used (e.g. INNER)
  @return string
docstring_tokens: Sets the type of join to be used when adding the association to a query . If no arguments are passed the currently configured type is returned .