]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/file_directory/class_InvalidMD5ChecksumException.php
Continued:
[core.git] / framework / main / exceptions / file_directory / class_InvalidMD5ChecksumException.php
index c8872c0945471a221a46c2b353aefeb44b13f803..251c051336bd0a85b7e60639bf55b2e1c526929d 100644 (file)
@@ -32,17 +32,17 @@ class InvalidMD5ChecksumException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param       $msgArray       Message from the exception
+        * @param       $messageArray   Message from the exception
         * @param       $code           Code number for the exception
         * @return      void
         */
-       public function __construct (array $msgArray, $code) {
+       public function __construct (array $messageArray, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] MD5 hashes %s and %s doesnt match.',
-                       $msgArray[0]->__toString(),
+                       $messageArray[0]->__toString(),
                        $this->getLine(),
-                       $msgArray[1],
-                       $msgArray[2]
+                       $messageArray[1],
+                       $messageArray[2]
                );
 
                // Call parent constructor