@@ -209,7 +209,7 @@ |
||
| 209 | 209 | $this->createConditionalRewrite($rewriteBlock, '%{DOCUMENT_ROOT}/$1.html -f', '^(.+?)/?$ /$1.html [L]'); |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | - private function createConditionalRewrite(Block &$rewriteBlock, string $condition, string $rule) { |
|
| 212 | + private function createConditionalRewrite(Block & $rewriteBlock, string $condition, string $rule) { |
|
| 213 | 213 | $rewriteBlock->addLineBreak(1); |
| 214 | 214 | |
| 215 | 215 | $conditionLine = new Directive(); |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Brendt\Stitcher\Site\Http; |
| 4 | 4 | |
| 5 | -use Brendt\Stitcher\Exception\ConfigurationException; |
|
| 6 | 5 | use Brendt\Stitcher\Lib\Browser; |
| 7 | 6 | use Brendt\Stitcher\Site\Page; |
| 8 | 7 | use Symfony\Component\Filesystem\Filesystem; |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | $pageRenderProcess = new PageRenderProcess($this->pageParser, $page, $this->browser->getPublicDir(), $filterValue); |
| 158 | 158 | $pageRenderProcess->setEnvironment($this->environment); |
| 159 | 159 | |
| 160 | - $pageRenderProcess->onSuccess(function ($pageIds) use ($page) { |
|
| 160 | + $pageRenderProcess->onSuccess(function($pageIds) use ($page) { |
|
| 161 | 161 | if ($this->siteMap->isEnabled()) { |
| 162 | 162 | foreach ($pageIds as $pageId) { |
| 163 | 163 | $this->siteMap->addPath($pageId); |