diff --git a/src/PageUtils/AbstractBinaryInput.php b/src/PageUtils/AbstractBinaryInput.php index f995aee..b24a892 100644 --- a/src/PageUtils/AbstractBinaryInput.php +++ b/src/PageUtils/AbstractBinaryInput.php @@ -63,7 +63,7 @@ public function getBase64(?int $timeout = null) * * @return string */ - public function getRawBinary(int $timeout = null): string + public function getRawBinary(?int $timeout = null): string { return \base64_decode($this->getBase64($timeout), true); }