]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/main/class_InvalidInterfaceException.php
Continued:
[core.git] / framework / main / exceptions / main / class_InvalidInterfaceException.php
index 63814d0e81228774fe645c3bb1e6522d03bc0da2..1009583a276960651a5a17097ae372bfc75370ce 100644 (file)
@@ -35,7 +35,7 @@ class InvalidInterfaceException extends FrameworkException {
         * @param       $code                   Code number for the exception
         * @return      void
         */
-       public function __construct (array $classArray, $code) {
+       public function __construct (array $classArray, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Object does not implement expected interface %s.',
                        $classArray[0]->__toString(),