File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ public function getFormattedOptions(): array
110110 if ($ this ->getFooter () !== null ) {
111111 $ pdfOptions ['footerTemplate ' ] = $ this ->getFooter ();
112112 }
113- if ( $ this -> getFormat () !== null ) {
114- $ pdfOptions ['format ' ] = $ this ->getFormat ();
115- }
113+
114+ $ pdfOptions ['format ' ] = $ this ->getFormat ();
115+
116116 if ($ this ->getHeader () !== null ) {
117117 $ pdfOptions ['headerTemplate ' ] = $ this ->getHeader ();
118118 }
@@ -136,9 +136,9 @@ public function getFormattedOptions(): array
136136 if ($ this ->getPreferCSSPageSize () !== null ) {
137137 $ pdfOptions ['preferCSSPageSize ' ] = $ this ->getPreferCSSPageSize ();
138138 }
139- if ( $ this -> getPrintBackground () !== null ) {
140- $ pdfOptions ['printBackground ' ] = $ this ->getPrintBackground ();
141- }
139+
140+ $ pdfOptions ['printBackground ' ] = $ this ->getPrintBackground ();
141+
142142 if ($ this ->getScale () !== null ) {
143143 $ pdfOptions ['scale ' ] = $ this ->getScale ();
144144 }
You can’t perform that action at this time.
0 commit comments