Automated formatting changes

This commit is contained in:
Formatter Bot 2021-06-26 12:39:04 +00:00
parent 1dfa2f81f1
commit 645582aaa6
5 changed files with 16 additions and 9 deletions

View File

@ -9,10 +9,10 @@ $bill = $this->getData('bill');
$elements = $bill->getElements(); $elements = $bill->getElements();
$mpdf = new Mpdf([ $mpdf = new Mpdf([
'mode' => 'utf-8', 'mode' => 'utf-8',
'format' => 'A4-L', 'format' => 'A4-L',
'orientation' => 'L', 'orientation' => 'L',
'margin_left' => 20, 'margin_left' => 20,
'margin_right' => 15, 'margin_right' => 15,
'margin_top' => 48, 'margin_top' => 48,
'margin_bottom' => 25, 'margin_bottom' => 25,

View File

@ -55,7 +55,9 @@ class Bill implements \JsonSerializable
* @var int|BillType * @var int|BillType
* @since 1.0.0 * @since 1.0.0
*/ */
public int|BillType $type = 0; public int |
BillType $type = 0;
/** /**
* Bill status. * Bill status.
@ -823,7 +825,6 @@ class Bill implements \JsonSerializable
return $this->info; return $this->info;
} }
/** /**
* Set payment text. * Set payment text.
* *

View File

@ -91,7 +91,9 @@ class BillElement implements \JsonSerializable
*/ */
public int $promotion = 0; public int $promotion = 0;
public int|Bill $bill = 0; public int |
Bill $bill = 0;
/** /**
* Constructor. * Constructor.

View File

@ -43,7 +43,9 @@ class BillType
* *
* @var string|BillTypeL11n * @var string|BillTypeL11n
*/ */
protected string|BillTypeL11n $l11n; protected string |
BillTypeL11n $l11n;
/** /**
* Constructor. * Constructor.

View File

@ -41,7 +41,9 @@ class BillTypeL11n implements \JsonSerializable, ArrayableInterface
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
protected int|BillType $type = 0; protected int |
BillType $type = 0;
/** /**
* Language. * Language.