X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fstates%2Fnode%2Fclass_BaseNodeState.php;fp=application%2Fhub%2Fmain%2Fstates%2Fnode%2Fclass_BaseNodeState.php;h=90e8fbd3a7a749f7af19ecd63b0549b657791989;hb=0061ab4550d54cb28adaa8b672ccd57ba996fc76;hp=3f3974dd6397ed2d861ec3ef6e806e8d317019d9;hpb=79d4a83018cd932cee912ec0cd907fa703848af1;p=hub.git diff --git a/application/hub/main/states/node/class_BaseNodeState.php b/application/hub/main/states/node/class_BaseNodeState.php index 3f3974dd6..90e8fbd3a 100644 --- a/application/hub/main/states/node/class_BaseNodeState.php +++ b/application/hub/main/states/node/class_BaseNodeState.php @@ -55,9 +55,9 @@ class BaseNodeState extends BaseState { * @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