Merge branch '4.0' into 4.1

This commit is contained in:
Robbie Averill 2019-05-30 09:34:55 +12:00
commit 02864aba3f

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);