@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function __construct($options = []) { |
| 16 | 16 | foreach ($options as $key => $value) { |
| 17 | - $method = 'set' . ucfirst($key); |
|
| 17 | + $method = 'set'.ucfirst($key); |
|
| 18 | 18 | |
| 19 | 19 | if (method_exists($this, $method)) { |
| 20 | 20 | call_user_func([$this, $method], $value); |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | $headers = $topNode->find('h1, h2, h3, h4, h5, h6'); |
| 166 | 166 | |
| 167 | 167 | foreach ($headers as $header) { |
| 168 | - $header->replaceWith(new Text("\n\n" . $this->getTagCleanedText($header) . "\n\n")); |
|
| 168 | + $header->replaceWith(new Text("\n\n".$this->getTagCleanedText($header)."\n\n")); |
|
| 169 | 169 | } |
| 170 | 170 | } |
| 171 | 171 | } |