]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/state/class_UnexpectedStateException.php
Continued:
[core.git] / framework / main / exceptions / state / class_UnexpectedStateException.php
index 64f67930f734452fdef43bdcdc02caf896770416..9cef99e9f7a051a88439cdf6d7e43f445e69c75b 100644 (file)
@@ -36,7 +36,7 @@ class UnexpectedStateException extends FrameworkException {
         * @param       $code                   Error code
         * @return      void
         */
-       public function __construct (Stateable $stateInstance, $code) {
+       public function __construct (Stateable $stateInstance, int $code) {
                // Construct the message
                $message = sprintf('[%s:%d] Unexpected state detected.',
                        $stateInstance->__toString(),