There was an error while loading. Please reload this page.
1 parent a10907c commit 6f65970Copy full SHA for 6f65970
1 file changed
src/Internal/TypeFormatter.php
@@ -22,6 +22,10 @@ public static function formatGivenValue(mixed $value): string
22
return "int ($value)";
23
}
24
25
+ if (\is_float($value)) {
26
+ return "float ($value)";
27
+ }
28
+
29
if (\is_string($value)) {
30
if ($value === '') {
31
return "empty string ('')";
0 commit comments