@@ -129,8 +129,7 @@ discard block |
||
| 129 | 129 | return $content; |
| 130 | 130 | } catch (WebsiteIsPrivateException $e) { |
| 131 | 131 | throw $e; |
| 132 | - } catch |
|
| 133 | - (Exception $e) { |
|
| 132 | + } catch (Exception $e) { |
|
| 134 | 133 | throw new AssetDoesNotExistException("404"); |
| 135 | 134 | } |
| 136 | 135 | } |
@@ -178,7 +177,7 @@ discard block |
||
| 178 | 177 | * @param Pico $pico |
| 179 | 178 | * @param Website $website |
| 180 | 179 | */ |
| 181 | - private function generateConfig(Pico &$pico, Website $website) { |
|
| 180 | + private function generateConfig(Pico&$pico, Website $website) { |
|
| 182 | 181 | $this->themesService->hasToBeAValidTheme($website->getTheme()); |
| 183 | 182 | $pico->setConfig( |
| 184 | 183 | [ |