From 935b69a41637a553e379dc6d2a7844a59f2c5dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Thu, 26 Jun 2014 11:07:53 +0200 Subject: [PATCH] minor changes --- application/core/ManiaControl.php | 5 ++--- application/core/Utils/ClassUtil.php | 1 + application/core/Utils/CommandLineHelper.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index c71f3518..72d58da2 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -95,11 +95,10 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener { * Construct ManiaControl */ public function __construct() { - // Construct Error Handler - $this->errorHandler = new ErrorHandler($this); - $this->log('Loading ManiaControl v' . self::VERSION . ' ...'); + $this->errorHandler = new ErrorHandler($this); + $this->loadConfig(); // Load ManiaControl Modules diff --git a/application/core/Utils/ClassUtil.php b/application/core/Utils/ClassUtil.php index 909ecf4f..3524d7f4 100644 --- a/application/core/Utils/ClassUtil.php +++ b/application/core/Utils/ClassUtil.php @@ -10,6 +10,7 @@ namespace ManiaControl\Utils; * @license http://www.gnu.org/licenses/ GNU General Public License, Version 3 */ abstract class ClassUtil { + /** * Get the Class Name of the given Object * diff --git a/application/core/Utils/CommandLineHelper.php b/application/core/Utils/CommandLineHelper.php index 56b2c15d..d01d449a 100644 --- a/application/core/Utils/CommandLineHelper.php +++ b/application/core/Utils/CommandLineHelper.php @@ -15,7 +15,7 @@ class CommandLineHelper { * Get the Command Line Parameter with the given Name * * @param string $paramName - * @return mixed + * @return string */ public static function getParameter($paramName) { global $argv;