]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/states/node/announced/class_NodeAnnouncementCompletedState.php
Fixed a lot broken stuff:
[hub.git] / application / hub / main / states / node / announced / class_NodeAnnouncementCompletedState.php
index ed200ec26044d7ba1e3aece7886126aec5e86b9d..f9fdba626ac3c296218addafb493436d6359df04 100644 (file)
@@ -38,16 +38,12 @@ class NodeAnnouncementCompletedState extends BaseNodeState implements Stateable
        /**
         * Creates an instance of this class
         *
-        * @param       $nodeInstance   An instance of a NodeHelper class
         * @return      $stateInstance  An instance of a Stateable class
         */
-       public static final function createNodeAnnouncementCompletedState (NodeHelper $nodeInstance) {
+       public static final function createNodeAnnouncementCompletedState () {
                // Get new instance
                $stateInstance = new NodeAnnouncementCompletedState();
 
-               // Set the node instance
-               $stateInstance->setNodeInstance($nodeInstance);
-
                // Return the prepared instance
                return $stateInstance;
        }