mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-11 13:38:39 +00:00
add type hinting
This commit is contained in:
parent
1ba4e26018
commit
6d1d4106c2
|
|
@ -50,8 +50,20 @@ class DefaultPdf extends TCPDF
|
|||
*/
|
||||
public int $sideMargin = 15;
|
||||
|
||||
/**
|
||||
* Template language
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $language = 'en';
|
||||
|
||||
/**
|
||||
* Language components
|
||||
*
|
||||
* @var array<string, array<string, string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public array $lang = [
|
||||
'en' => [
|
||||
'Page' => 'Page',
|
||||
|
|
@ -71,6 +83,12 @@ class DefaultPdf extends TCPDF
|
|||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Bill attributes
|
||||
*
|
||||
* @var array<string, string>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public array $attributes = [
|
||||
'logo' => __DIR__ . '/../Web/Backend/img/logo.png',
|
||||
'title_name' => 'Jingga',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user