* @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;
}
/**