Skip to content

Commit ec57a3d

Browse files
Fix default argument
1 parent 0df472b commit ec57a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Line.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Line
7272
* @param int $type
7373
* @param string $content
7474
*/
75-
public function __construct($type = self::UNCHANGED, $content = null)
75+
public function __construct($type = self::UNCHANGED, $content = '')
7676
{
7777
$this->type = $type;
7878
$this->content = $content;

0 commit comments

Comments
 (0)