@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | */ |
153 | 153 | public function setType($type) |
154 | 154 | { |
155 | - $this->type = (string)$type; |
|
155 | + $this->type = (string) $type; |
|
156 | 156 | } |
157 | 157 | |
158 | 158 | /** |
@@ -195,8 +195,8 @@ discard block |
||
195 | 195 | protected function minifyHtmlOutput($html) |
196 | 196 | { |
197 | 197 | $search = array( |
198 | - '/\>[^\S]+/s', // strip whitespaces after tags, except space |
|
199 | - '/[^\S]+\</s', // strip whitespaces before tags, except space |
|
198 | + '/\>[^\S]+/s', // strip whitespaces after tags, except space |
|
199 | + '/[^\S]+\</s', // strip whitespaces before tags, except space |
|
200 | 200 | '/(\s)+/s' // shorten multiple whitespace sequences |
201 | 201 | ); |
202 | 202 |