Merge pull request #2093 from stoneshaq/patch-1

Named parameter in PHP 8
This commit is contained in:
Cüneyt Şentürk 2021-06-08 18:20:57 +03:00 committed by GitHub
commit 5ddfe315f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,