X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fio%2Fclass_InvalidMD5ChecksumException.php;h=31ea3bf3bcd1a16c0f65e0889895763093afc3bf;hb=d527a312ec4b2983fc0ecda2179ce335c1a5a1f9;hp=6196143dd2b8f4423c01a25974146365198c810c;hpb=fd7af0d49b7113721e6b86eb96eccea3b78362c0;p=shipsimu.git diff --git a/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php b/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php index 6196143..31ea3bf 100644 --- a/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php +++ b/inc/classes/exceptions/io/class_InvalidMD5ChecksumException.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -25,17 +25,17 @@ class InvalidMD5ChecksumException extends FrameworkException { /** * The constructor * - * @param $array Message from the exception - * @param $code Code number for the exception + * @param $msgArray Message from the exception + * @param $code Code number for the exception * @return void */ - public function __construct (array $array, $code) { + public function __construct (array $msgArray, $code) { // Add a message around the missing class $message = sprintf("[%s:%d] Die MD5-Prüfsummen %s und %s stimmen nicht überein!", - $array[0]->__toString(), + $msgArray[0]->__toString(), $this->getLine(), - $array[1], - $array[2] + $msgArray[1], + $msgArray[2] ); // Call parent constructor