File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ public function getFormattedOptions(): array
110
110
if ($ this ->getFooter () !== null ) {
111
111
$ pdfOptions ['footerTemplate ' ] = $ this ->getFooter ();
112
112
}
113
- if ( $ this -> getFormat () !== null ) {
114
- $ pdfOptions ['format ' ] = $ this ->getFormat ();
115
- }
113
+
114
+ $ pdfOptions ['format ' ] = $ this ->getFormat ();
115
+
116
116
if ($ this ->getHeader () !== null ) {
117
117
$ pdfOptions ['headerTemplate ' ] = $ this ->getHeader ();
118
118
}
@@ -136,9 +136,9 @@ public function getFormattedOptions(): array
136
136
if ($ this ->getPreferCSSPageSize () !== null ) {
137
137
$ pdfOptions ['preferCSSPageSize ' ] = $ this ->getPreferCSSPageSize ();
138
138
}
139
- if ( $ this -> getPrintBackground () !== null ) {
140
- $ pdfOptions ['printBackground ' ] = $ this ->getPrintBackground ();
141
- }
139
+
140
+ $ pdfOptions ['printBackground ' ] = $ this ->getPrintBackground ();
141
+
142
142
if ($ this ->getScale () !== null ) {
143
143
$ pdfOptions ['scale ' ] = $ this ->getScale ();
144
144
}
You can’t perform that action at this time.
0 commit comments