X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Frequest%2Fclass_BaseRequest.php;h=b855bb03d852ab96c86c21231f3a35b518b4dc82;hb=c15d02389e67a880e7b4c6b19f2b06722efa4e6f;hp=c56648f12f453a69d241a0f6075d1109c51200dc;hpb=6d6b58a1042e6ad5d6277f8ff5144c95f1abd427;p=core.git diff --git a/framework/main/classes/request/class_BaseRequest.php b/framework/main/classes/request/class_BaseRequest.php index c56648f1..b855bb03 100644 --- a/framework/main/classes/request/class_BaseRequest.php +++ b/framework/main/classes/request/class_BaseRequest.php @@ -124,8 +124,8 @@ abstract class BaseRequest extends BaseFrameworkSystem { * @param $isValid Whether the request is valid * @return void */ - public final function requestIsValid ($isValid = true) { - $this->requestIsValid = (bool) $isValid; + public final function requestIsValid (bool $isValid = true) { + $this->requestIsValid = $isValid; } /**