]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/language/class_LanguagePathIsNoDirectoryException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / language / class_LanguagePathIsNoDirectoryException.php
index f735d59bc9b20cd805775385a70e399355844403..2e94516c4ca3a6ad0c4cd0c2100b7db64e2377c8 100644 (file)
@@ -25,16 +25,16 @@ class LanguagePathIsNoDirectoryException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $message                Message from the exception
-        * @param               $code           Code number for the exception
+        * @param       $classArray             Array holding exception data
+        * @param       $code                   Code number for the exception
         * @return      void
         */
-       public function __construct (BaseFrameworkSystem $class, $code) {
+       public function __construct (array $classArray, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:%d] Der Sprach-Basispfad <span id=\"exception_reason\">%s</span> existiert nicht oder ist eine Datei!",
-                       $class[0]->__toString(),
+                       $classArray[0]->__toString(),
                        $this->getLine(),
-                       $class[1]
+                       $classArray[1]
                );
 
                // Call parent constructor