]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/exceptions/class_ContractAllreadySignedException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / application / ship-simu / exceptions / class_ContractAllreadySignedException.php
index 76890e9444f1c51e6b25326944a5ac315acf140d..791922220aeb80716d7ee3fbd284e17c0cf8e913 100644 (file)
@@ -23,9 +23,6 @@
  */
 class ContractAllreadySignedException extends FrameworkException {
        public function __construct (array $classArray, $code) {
-               // Cast the array
-               $classArray = (array) $classArray;
-
                // Add a message around the missing class
                $message = sprintf("[%s:] Die Vertragsparteien <span id=\"exception_reason\">%s</span> und <span id=\"exception_reason\">%s</span> haben den Vertrag bereits unterzeichnet!",
                        $classArray[0]->__toString(),