/**
* 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;
}