Issue #3598842 by ayalon: Replace deprecated (boolean) cast with (bool) in BoolDataType::getValue() for PHP 8.5
Closes #3598842