@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * @return DataDisplayResponse|string |
83 | 83 | */ |
84 | 84 | public function getRoot($site) { |
85 | - return $this->getPage($site , ''); |
|
85 | + return $this->getPage($site, ''); |
|
86 | 86 | } |
87 | 87 | |
88 | 88 | |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | try { |
99 | 99 | $html = $this->websitesService->getWebpageFromSite($site, $this->userId, $page); |
100 | 100 | |
101 | - if(strpos($page, PicoService::DIR_ASSETS) === 0) { |
|
101 | + if (strpos($page, PicoService::DIR_ASSETS) === 0) { |
|
102 | 102 | $probableMimeType = $this->mimeTypeDetector->detectPath($page); |
103 | 103 | $secureMimeType = $this->mimeTypeDetector->getSecureMimeType($probableMimeType); |
104 | 104 | return new DataDownloadResponse($html, basename($page), $secureMimeType); |