]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/main/class_IndexOutOfBoundsException.php
Continued:
[core.git] / framework / main / exceptions / main / class_IndexOutOfBoundsException.php
index 05f4c12155d52adb06de60a6c743f51a29284350..e8f6aee584c2146a0da1b82ce2b5826cb914c649 100644 (file)
@@ -35,7 +35,7 @@ class IndexOutOfBoundsException extends FrameworkException {
         * @param       $code           Code number for the exception
         * @return      void
         */
-       public function __construct ($message, $code) {
+       public function __construct (string $message, int $code) {
                // Add a message around the missing class
                $message = sprintf('%s is out of bounds.',
                        $message