Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / template / class_BasePathReadProtectedException.php
index f5105b43ddfdbf09653111ee413205218c32b297..1bfbac5b0430c7d0e76da4b56d3655b117fc19d0 100644 (file)
@@ -25,16 +25,16 @@ class BasePathReadProtectedException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param               $class          An array holding our informations
-        * @param               $code           Code number for the exception
+        * @param       $classArray             An array holding our informations
+        * @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 Template-Basispfad <span id=\"exception_reason\">%s</span> ist lesegesch&uuml;tzt! Bitte Zugriffsrechte (CHMOD) &auml;ndern.",
-                       $class[0]->__toString(),
+                       $classArray[0]->__toString(),
                        $this->getLine(),
-                       $class[1]
+                       $classArray[1]
                );
 
                // Call parent constructor