Continued:
[core.git] / framework / main / exceptions / result / class_InvalidDatabaseResultException.php
index 3901ef8fed18bf74a274c70105da5e4f2abb8563..6d46f322af3cc5ce847a5d487d136b6de00047dd 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkException;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -31,16 +31,16 @@ class InvalidDatabaseResultException extends FrameworkException {
        /**
         * The super constructor for all exceptions
         *
-        * @param       $msgArray       Error message array
+        * @param       $messageArray   Error message array
         * @param       $code           Error code
         * @return      void
         */
-       public function __construct (array $msgArray, $code) {
+       public function __construct (array $messageArray, int $code) {
                // Construct the message
                $message = sprintf('[%s:%d] Database instance %s contains invalid entries.',
-                       $msgArray[0]->__toString(),
+                       $messageArray[0]->__toString(),
                        $this->getLine(),
-                       $msgArray[1]->__toString()
+                       $messageArray[1]->__toString()
                );
 
                // Call parent exception constructor