/**
* Creates an instance of this class
*
- * @param $minerInstance An instance of a MinerHelper class
* @return $stateInstance An instance of a Stateable class
*/
- public final static function createMinerBootingState (MinerHelper $minerInstance) {
+ public final static function createMinerBootingState () {
// Get new instance
$stateInstance = new MinerBootingState();
// Debug message
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('MINER-STATE: Has changed from ' . $minerInstance->getPrintableState() . ' to ' . $stateInstance->getStateName() . '.');
- // Set the miner instance
- $stateInstance->setMinerInstance($minerInstance);
-
// Return the prepared instance
return $stateInstance;
}