Passed
Pull Request — master (#25)
by Lukas
02:04
created
lib/Controller/PicoController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.