diff --git a/src/Message/AbstractVersionedMessage.php b/src/Message/AbstractVersionedMessage.php index 09588e3..d0d840f 100644 --- a/src/Message/AbstractVersionedMessage.php +++ b/src/Message/AbstractVersionedMessage.php @@ -11,7 +11,7 @@ abstract class AbstractVersionedMessage implements VersionedMessageInterface */ protected $version; - protected function setVersion(?int $forceVersion): void + protected function setVersion(int $forceVersion = null): void { $this->version = null === $forceVersion ? $this->getBuildVersion() : $forceVersion; }