*/
public function validateNodeStateIsActiveOrAnnounced () {
// Just compare it...
- if ((!$this instanceof NodeActiveState) && (!$this instanceof NodeAnnouncedState) {
+ if ((!$this instanceof NodeActiveState) && (!$this instanceof NodeAnnouncedState)) {
// Throw the exception
throw new InvalidStateException($this, self::EXCEPTION_INVALID_STATE);
} // END - if