/**
* Do the helped attempt by delivering a package to ourselfs
*
+ * @param $nodeInstance An instance of a NodeHelper class
* @return void
*/
- public function sendPackage () {
+ public function sendPackage (NodeHelper $nodeInstance) {
// Sanity check: Is the node in the approx. state? (active)
- $this->getNodeInstance()->getStateInstance()->validateNodeStateIsActive();
+ $nodeInstance->getStateInstance()->validateNodeStateIsActive();
// Compile the template, this inserts the loaded node data into the gaps.
$this->getTemplateInstance()->compileTemplate();