Continued:
[core.git] / framework / main / exceptions / compressor / class_MismatchingCompressorsException.php
index 6a66dbe537b94b5b4b005e5403c0f7471c7f397c..0f6709e3ac45e74cf573767c9b857edcdf62f6e2 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
  * @todo               Rename to CompressorMismatchException
@@ -36,7 +36,7 @@ class MismatchingCompressorsException extends FrameworkException {
         * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (array $array, $code) {
+       public function __construct (array $array, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Der Kompressor %s zu den geladenen Daten aus %s und der aktuell verwendete Kompressor %s stimmen nicht &uuml;berein!',
                        $array[0]->__toString(),