Skip to content

Commit 2ca6078

Browse files
minor #42490 More return type fixes (bis) (nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- More return type fixes (bis) | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- c6a20b4e4d More return type fixes (bis)
2 parents 66ffec0 + 26963a2 commit 2ca6078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/Core/DataTransformer/PercentToLocalizedStringTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function transform($value)
104104
*
105105
* @param string $value Percentage value
106106
*
107-
* @return int|float Normalized value
107+
* @return int|float|null
108108
*
109109
* @throws TransformationFailedException if the given value is not a string or
110110
* if the value could not be transformed

0 commit comments

Comments
 (0)