* @param $nodeInstance An instance of a NodeHelper class
* @return $stateInstance An instance of a Stateable class
*/
- public final static function createNodeInitState (NodeHelper $nodeInstance) {
+ public static final function createNodeInitState (NodeHelper $nodeInstance) {
// Get new instance
$stateInstance = new NodeInitState();
/**
* State change for if the node has just generated a session id. This makes
* nodes with current state 'init' now 'virgin'.
+ *
+ * @return void
*/
public function nodeGeneratedSessionId () {
// Create the new state instance