From 7914b2864f1788b3caa50675cf802a1f2a918866 Mon Sep 17 00:00:00 2001 From: Olivier Dolbeau Date: Thu, 26 Dec 2019 12:34:09 +0100 Subject: [PATCH] Correct incorrect return type --- Model/SfProfilerMessage.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Model/SfProfilerMessage.php b/Model/SfProfilerMessage.php index ca7236ce..078a29a2 100644 --- a/Model/SfProfilerMessage.php +++ b/Model/SfProfilerMessage.php @@ -70,7 +70,6 @@ final class SfProfilerMessage * @var int * * The number which we are feeding a transChoice with - * Used only in Symfony >2.8 */ private $transChoiceNumber; @@ -78,7 +77,6 @@ final class SfProfilerMessage * @var array * * The parameters sent to the translations - * Used only in Symfony >2.8 */ private $parameters; @@ -217,7 +215,7 @@ public function setTranslation(string $translation): self return $this; } - public function getTransChoiceNumber(): int + public function getTransChoiceNumber(): ?int { return $this->transChoiceNumber; }