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=3feeca035c1ff8bcc2481217d296c6115a35737f;hb=0beb87d2d0eeede18bcb7e4d05394c5cfbcf406a;hp=d7a1bf962a9abd32bda03ac9361f9178b520878c;hpb=e10aa2b808ead315a4b8924f7b2ec2cc349ff414;p=hub.git diff --git a/application/hub/main/states/node/class_BaseNodeState.php b/application/hub/main/states/node/class_BaseNodeState.php index d7a1bf962..3feeca035 100644 --- a/application/hub/main/states/node/class_BaseNodeState.php +++ b/application/hub/main/states/node/class_BaseNodeState.php @@ -57,7 +57,7 @@ class BaseNodeState extends BaseState { */ 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