Skip to content

Commit 7b9e262

Browse files
committed
Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into release_0.14
2 parents ebd4741 + 13dc3bb commit 7b9e262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PhpWord/Style/Image.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ class Image extends Frame
6161
public function __construct()
6262
{
6363
parent::__construct();
64-
$this->setUnit('px');
64+
$this->setUnit(self::UNIT_PT);
6565

66-
// Backward compatilibity setting
66+
// Backward compatibility setting
6767
// @todo Remove on 1.0.0
6868
$this->setWrap(self::WRAPPING_STYLE_INLINE);
6969
$this->setHPos(self::POSITION_HORIZONTAL_LEFT);

0 commit comments

Comments
 (0)