From ca5dd279c132daa351d70ea3bc6a6d49c9b0ba08 Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 23 Mar 2017 20:43:23 +0100 Subject: [PATCH] improved base callback structure --- core/Callbacks/Structures/BaseStructure.php | 4 ++-- .../Structures/ManiaPlanet/CallbacksListStructure.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/Callbacks/Structures/BaseStructure.php b/core/Callbacks/Structures/BaseStructure.php index 71eb228b..e277c365 100644 --- a/core/Callbacks/Structures/BaseStructure.php +++ b/core/Callbacks/Structures/BaseStructure.php @@ -40,12 +40,12 @@ abstract class BaseStructure { public function getJson() { return $this->plainJson; } - + /** * Var_Dump the Structure */ public function dump() { - var_dump($this->getJson()); + var_dump("Class Name including Namespace: " . get_class($this)); var_dump(json_decode(json_encode($this))); } } \ No newline at end of file diff --git a/core/Callbacks/Structures/ManiaPlanet/CallbacksListStructure.php b/core/Callbacks/Structures/ManiaPlanet/CallbacksListStructure.php index 3e936746..586d9f2a 100644 --- a/core/Callbacks/Structures/ManiaPlanet/CallbacksListStructure.php +++ b/core/Callbacks/Structures/ManiaPlanet/CallbacksListStructure.php @@ -30,8 +30,6 @@ class CallbacksListStructure extends BaseStructure { $this->responseId = $this->getJson()->responseid; $this->callbacks = $this->getJson()->callbacks; - - //$this->dump(); } /**