We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pointsToCentimeters
1 parent 0080806 commit 29901fcCopy full SHA for 29901fc
src/Common/Drawing.php
@@ -64,11 +64,11 @@ public static function pixelsToPoints(int $pValue = 0): float
64
/**
65
* Convert points width to centimeters
66
*
67
- * @param int $pValue Value in points
+ * @param float $pValue Value in points
68
69
* @return float
70
*/
71
- public static function pointsToCentimeters(int $pValue = 0): float
+ public static function pointsToCentimeters(float $pValue = 0): float
72
{
73
if ($pValue == 0) {
74
return 0;
0 commit comments