Skip to content

Commit 742984b

Browse files
authored
Merge pull request #25 from Al2Klimov/bugfix/php-7-interface-compatibility
SurfaceGmagick::rect(): conform to PHP 7.x
2 parents 3f15524 + 40367fc commit 742984b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Svg/Surface/SurfaceGmagick.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function fillRect($x, $y, $w, $h)
202202
$this->fill();
203203
}
204204

205-
public function rect($x, $y, $w, $h)
205+
public function rect($x, $y, $w, $h, $rx = 0, $ry = 0)
206206
{
207207
if (self::DEBUG) echo __FUNCTION__ . "\n";
208208
$this->canvas->rect($x, $y, $w, $h);

0 commit comments

Comments
 (0)