From 92bca00ffd9a6b6f4193bcd076de82cacaab7f06 Mon Sep 17 00:00:00 2001 From: Yang Date: Wed, 30 Sep 2020 15:16:27 +0200 Subject: [PATCH] Updated placeholder for optionnal paramter --- src/Message/AbstractVersionedMessage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }