@@ -86,10 +86,10 @@ |
||
86 | 86 | * @return object the current instance |
87 | 87 | */ |
88 | 88 | public function render() { |
89 | - $this->dompdf->load_html($this->html); |
|
90 | - $this->dompdf->set_paper($this->paper, $this->orientation); |
|
91 | - $this->dompdf->render(); |
|
92 | - return $this; |
|
89 | + $this->dompdf->load_html($this->html); |
|
90 | + $this->dompdf->set_paper($this->paper, $this->orientation); |
|
91 | + $this->dompdf->render(); |
|
92 | + return $this; |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * @return object the current instance |
100 | 100 | */ |
101 | 101 | public function setFilename($filename) { |
102 | - if(stripos($filename, '.pdf') === false) { |
|
102 | + if (stripos($filename, '.pdf') === false) { |
|
103 | 103 | $filename .= '.pdf'; |
104 | 104 | } |
105 | 105 | $this->filename = $filename; |