Merge branch '4.1' into 4.2

This commit is contained in:
Robbie Averill 2019-05-30 09:35:06 +12:00
commit 7f69cc8f94

View File

@ -30,7 +30,7 @@ class HeaderField extends DatalessField
* @param string $title
* @param int $headingLevel
*/
public function __construct($name, $title, $headingLevel = 2)
public function __construct($name, $title = null, $headingLevel = 2)
{
$this->setHeadingLevel($headingLevel);
parent::__construct($name, $title);