Closed DaveFerger closed 7 years ago
This pull request includes a
The following changes were made (this change is also documented in the change log):
Correct Mpdf -> initContsructorParams margin parsing.
https://github.com/mpdf/mpdf/blob/development/src/Mpdf.php#L1543 :
private function initConstructorParams(array $config) { $constructor = [ 'mode' => '', 'format' => 'A4', 'default_font_size' => 0, 'default_font' => '', 'margin_left' => 15, 'margin_right' => 15, 'margin_top' => 16, 'margin_bottom' => 16, 'margin_header' => 9, 'margin_footer' => 9, 'orientation' => 'P', ]; foreach ($constructor as $key => $val) { if (isset($config[$key])) { $constructor[$key] = $config[$key]; } } return array_values($constructor); }
mpdf/mpdf 7.0.x-dev 4b5f88f
4b5f88f
kartik-v/yii2-mpdf dev-master 5f3cf0d
5f3cf0d
Scope
This pull request includes a
Changes
The following changes were made (this change is also documented in the change log):
Correct Mpdf -> initContsructorParams margin parsing.
https://github.com/mpdf/mpdf/blob/development/src/Mpdf.php#L1543 :
Versions
mpdf/mpdf 7.0.x-dev
4b5f88f
kartik-v/yii2-mpdf dev-master
5f3cf0d