added parent constructor

This commit is contained in:
kremsy
2017-03-23 21:01:44 +01:00
parent d2d6209880
commit 4b974e66c2
5 changed files with 10 additions and 15 deletions

View File

@ -25,11 +25,12 @@ class CallbacksListStructure extends BaseStructure {
* @param array $data
*/
public function __construct(ManiaControl $maniaControl, $data) {
parent::setManiaControl($maniaControl);
parent::setJson($data);
parent::__construct($maniaControl, $data);
$this->responseId = $this->getJson()->responseid;
$this->callbacks = $this->getJson()->callbacks;
$this->dump();
}
/**