]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/states/node/class_BaseNodeState.php
Opps ... :(
[hub.git] / application / hub / main / states / node / class_BaseNodeState.php
index d7a1bf962a9abd32bda03ac9361f9178b520878c..3feeca035c1ff8bcc2481217d296c6115a35737f 100644 (file)
@@ -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