Html\Util: it's perfectly possible to render floats

This commit is contained in:
Thomas Gelf 2017-07-13 07:18:25 +02:00
parent 4ced1137cd
commit b6f6c82c18

View File

@ -112,7 +112,7 @@ class Util
public static function canBeRenderedAsString($any)
{
return is_string($any) || is_int($any) || is_null($any);
return is_string($any) || is_int($any) || is_null($any) || is_float($any);
}
/**