* @return void
* @throws InvalidStateException If the state is not 'active' and not 'announcing'
*/
- public function validateNodeStateIsActiveOrAnnounced () {
+ public function validateNodeStateIsActiveOrAnnouncing () {
// Just compare it...
- if ((!$this instanceof NodeActiveState) && (!$this instanceof NodeAnnouncedState)) {
+ if ((!$this instanceof NodeActiveState) && (!$this instanceof NodeAnnouncingState)) {
// Throw the exception
throw new InvalidStateException($this, self::EXCEPTION_INVALID_STATE);
} // END - if