Skip to content

Commit

Permalink
Merge 29901fc into 0080806
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Aug 3, 2021
2 parents 0080806 + 29901fc commit 1e28535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Common/Drawing.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ public static function pixelsToPoints(int $pValue = 0): float
/**
* Convert points width to centimeters
*
* @param int $pValue Value in points
* @param float $pValue Value in points
*
* @return float
*/
public static function pointsToCentimeters(int $pValue = 0): float
public static function pointsToCentimeters(float $pValue = 0): float
{
if ($pValue == 0) {
return 0;
Expand Down

0 comments on commit 1e28535

Please sign in to comment.