Skip to content

Commit b410ed9

Browse files
Update Creator.php
fixed default units
1 parent 04bf2c6 commit b410ed9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Creator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,10 @@ class Creator {
102102

103103

104104
/**
105+
* @param int $units (MILLIMETERS as default value)
105106
* Create new DXF document
106107
*/
107-
function __construct($units)
108+
function __construct($units = self::MILLIMETERS)
108109
{
109110
$this->units = $units;
110111
// add default layout

0 commit comments

Comments
 (0)