X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fmain%2Fclass_InvalidInterfaceException.php;h=1009583a276960651a5a17097ae372bfc75370ce;hp=63814d0e81228774fe645c3bb1e6522d03bc0da2;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39 diff --git a/framework/main/exceptions/main/class_InvalidInterfaceException.php b/framework/main/exceptions/main/class_InvalidInterfaceException.php index 63814d0e..1009583a 100644 --- a/framework/main/exceptions/main/class_InvalidInterfaceException.php +++ b/framework/main/exceptions/main/class_InvalidInterfaceException.php @@ -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(),