Skip to content

Commit 53df870

Browse files
Olivier DolbeauNyholm
authored andcommitted
Correct incorrect return type (#360)
1 parent 965daa3 commit 53df870

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Model/SfProfilerMessage.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,13 @@ final class SfProfilerMessage
7070
* @var int
7171
*
7272
* The number which we are feeding a transChoice with
73-
* Used only in Symfony >2.8
7473
*/
7574
private $transChoiceNumber;
7675

7776
/**
7877
* @var array
7978
*
8079
* The parameters sent to the translations
81-
* Used only in Symfony >2.8
8280
*/
8381
private $parameters;
8482

@@ -217,7 +215,7 @@ public function setTranslation(string $translation): self
217215
return $this;
218216
}
219217

220-
public function getTransChoiceNumber(): int
218+
public function getTransChoiceNumber(): ?int
221219
{
222220
return $this->transChoiceNumber;
223221
}

0 commit comments

Comments
 (0)