@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | 15 | |
| 16 | -namespace UGA\Html2PDFBundle\Factory ; |
|
| 16 | +namespace UGA\Html2PDFBundle\Factory; |
|
| 17 | 17 | |
| 18 | 18 | class Html2pdfFactory |
| 19 | 19 | { |
@@ -46,12 +46,12 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | { |
| 48 | 48 | return new \HTML2PDF( |
| 49 | - $orientation ? $orientation : $this->html2_pdf_orientation , |
|
| 50 | - $format ? $format : $this->html2_pdf_format, |
|
| 51 | - $lang ? $lang : $this->html2_pdf_lang, |
|
| 52 | - $unicode ? $unicode : $this->html2_pdf_unicode, |
|
| 53 | - $margin ? $margin : $this->html2_pdf_margin , |
|
| 54 | - $encoding ? $encoding : $this->html2_pdf_encoding |
|
| 49 | + $orientation ? $orientation : $this->html2_pdf_orientation, |
|
| 50 | + $format ? $format : $this->html2_pdf_format, |
|
| 51 | + $lang ? $lang : $this->html2_pdf_lang, |
|
| 52 | + $unicode ? $unicode : $this->html2_pdf_unicode, |
|
| 53 | + $margin ? $margin : $this->html2_pdf_margin, |
|
| 54 | + $encoding ? $encoding : $this->html2_pdf_encoding |
|
| 55 | 55 | |
| 56 | 56 | ); |
| 57 | 57 | } |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | ->prototype('scalar')->end() |
| 32 | 32 | ->defaultValue(array(10, 15, 10, 15)) |
| 33 | 33 | ->end() |
| 34 | - ->end() ; |
|
| 34 | + ->end(); |
|
| 35 | 35 | |
| 36 | 36 | return $treeBuilder; |
| 37 | 37 | } |