public function register_node_fix( Node_Fix $fix, $group ) {
		if ( isset( $this->node_fixes[ $group ] ) ) {
			$this->node_fixes[ $group ][] = $fix;
		} else {
			throw new \InvalidArgumentException( "Invalid fixer group $group." );
		}
	}
public function register_node_fix( Node_Fix $fix, $group ) {
		if ( isset( $this->node_fixes[ $group ] ) ) {
			$this->node_fixes[ $group ][] = $fix;
		} else {
			throw new \InvalidArgumentException( "Invalid fixer group $group." );
		}
	}
public function register_node_fix ( Node_Fix $ fix , $ group ) { if ( isset ( $ this -> node_fixes [ $ group ] ) ) { $ this -> node_fixes [ $ group ] [ ] = $ fix ; } else { throw new \ InvalidArgumentException ( "Invalid fixer group $group." ) ; } }
Registers a node fix.

@since 5.0.0

@param Node_Fix $fix   Required.
@param int      $group Required. Only the constants CHARACTERS, SPACING_PRE_WORDS, SPACING_POST_WORDS, HTML_INSERTION are valid.

@throws \InvalidArgumentException Group is invalid.
Registers a node fix .