]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/main/class_ConfigEntryNotFoundException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / main / class_ConfigEntryNotFoundException.php
index 88a34617f9d6800a6bd711290f515a573c4a0d1c..324e991ffe31360056149eedb897c9cc0cadd381 100644 (file)
@@ -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 <span id=\"exception_reason\">%s</span> not found.",
                        $classArray[0],