Named parameter
Named parameters were introduced in PHP 8. Parameters without default values must now appear PRIOR to optional parameters.
This commit is contained in:
parent
04c303477a
commit
4e4566859b
@ -116,7 +116,7 @@ abstract class DocumentTemplate extends Base
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(
|
||||
$type, $item = false, $document, $documentTemplate = '', $logo = '', $backgroundColor = '',
|
||||
$type, $document, $item = false, $documentTemplate = '', $logo = '', $backgroundColor = '',
|
||||
bool $hideFooter = false, bool $hideCompanyLogo = false, bool $hideCompanyDetails = false,
|
||||
bool $hideCompanyName = false, bool $hideCompanyAddress = false, bool $hideCompanyTaxNumber = false, bool $hideCompanyPhone = false, bool $hideCompanyEmail = false, bool $hideContactInfo = false,
|
||||
bool $hideContactName = false, bool $hideContactAddress = false, bool $hideContactTaxNumber = false, bool $hideContactPhone = false, bool $hideContactEmail = false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user