X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fmain%2Fclass_ConfigEntryNotFoundException.php;h=324e991ffe31360056149eedb897c9cc0cadd381;hp=88a34617f9d6800a6bd711290f515a573c4a0d1c;hb=86553167136d11d44e1d938e964134c038785e3e;hpb=b32540971288c1c95139d65e75c72c1e456c9337 diff --git a/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php b/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php index 88a3461..324e991 100644 --- a/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php +++ b/inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php @@ -25,14 +25,11 @@ class ConfigEntryNotFoundException extends FrameworkException { /** * The constructor * - * @param $classArray Array with class + * @param $classArray Array with exception data * @param $code Code number for the exception * @return void */ public function __construct (array $classArray, $code) { - // Cast the array - $classArray = (array) $classArray; - // Add a message around the missing class $message = sprintf("[%s:%d] Configuration entry %s not found.", $classArray[0],