original_string: public function set_object_type( $object_type ) {
  		if ( ! in_array( $object_type, $supported = [ 'user', 'comment', 'term', 'post' ] ) ) {
  			// @codingStandardsIgnoreLine
  			_doing_it_wrong( __FUNCTION__, 'The object type must be one of: ' . implode( ', ', $supported ), null );
  		}
  
  		$this->object_type = $object_type;
  
  		return $this;
  	}
code: public function set_object_type( $object_type ) {
  		if ( ! in_array( $object_type, $supported = [ 'user', 'comment', 'term', 'post' ] ) ) {
  			// @codingStandardsIgnoreLine
  			_doing_it_wrong( __FUNCTION__, 'The object type must be one of: ' . implode( ', ', $supported ), null );
  		}
  
  		$this->object_type = $object_type;
  
  		return $this;
  	}
code_tokens: public function set_object_type ( $ object_type ) { if ( ! in_array ( $ object_type , $ supported = [ 'user' , 'comment' , 'term' , 'post' ] ) ) { // @codingStandardsIgnoreLine _doing_it_wrong ( __FUNCTION__ , 'The object type must be one of: ' . implode ( ', ' , $ supported ) , null ) ; } $ this -> object_type = $ object_type ; return $ this ; }
docstring: Sets the current object type.
  
  @param  string $object_type
  @return $this
docstring_tokens: Sets the current object type .