@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | |
| 69 | 69 | foreach ($this->configuration->getData('themes') as $themeName => $themeData) { |
| 70 | 70 | $themeStaticPath = '/resources/'. |
| 71 | - ($themeName == 'default' ? 'default_theme' : 'vendor_themes/' . $themeName) |
|
| 71 | + ($themeName == 'default' ? 'default_theme' : 'vendor_themes/'.$themeName) |
|
| 72 | 72 | . '/static/'; |
| 73 | 73 | |
| 74 | 74 | |
@@ -82,19 +82,19 @@ discard block |
||
| 82 | 82 | 'license' => $themeData['legal']['license'] ?? '', |
| 83 | 83 | 'read_only' => isset($usedThemes[$themeName]), |
| 84 | 84 | 'feature_website' => isset($themeData['features']['website_support']) |
| 85 | - ? (bool)$themeData['features']['website_support'] |
|
| 85 | + ? (bool) $themeData['features']['website_support'] |
|
| 86 | 86 | : false, |
| 87 | 87 | 'feature_login' => isset($themeData['features']['admin_login_support']) |
| 88 | - ? (bool)$themeData['features']['admin_login_support'] |
|
| 88 | + ? (bool) $themeData['features']['admin_login_support'] |
|
| 89 | 89 | : false, |
| 90 | 90 | 'feature_admin' => isset($themeData['features']['admin_support']) |
| 91 | - ? (bool)$themeData['features']['admin_support'] |
|
| 91 | + ? (bool) $themeData['features']['admin_support'] |
|
| 92 | 92 | : false, |
| 93 | 93 | 'logo' => isset($themeData['legal']['logo']) |
| 94 | - ? $themeStaticPath . $themeData['legal']['logo'] |
|
| 94 | + ? $themeStaticPath.$themeData['legal']['logo'] |
|
| 95 | 95 | : '', |
| 96 | 96 | 'preview' => isset($themeData['legal']['preview']) |
| 97 | - ? $themeStaticPath . $themeData['legal']['preview'] |
|
| 97 | + ? $themeStaticPath.$themeData['legal']['preview'] |
|
| 98 | 98 | : '', |
| 99 | 99 | ]; |
| 100 | 100 | } |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $this->result = $routeResult; |
| 51 | 51 | $this->applicationPath = $environmentManager->getSelectedApplicationUri(); |
| 52 | 52 | $this->adapter = \FastRoute\simpleDispatcher( |
| 53 | - function (RouteCollector $routeCollector) use ($routes) { |
|
| 53 | + function(RouteCollector $routeCollector) use ($routes) { |
|
| 54 | 54 | foreach ($routes as $resource => $route) { |
| 55 | 55 | $resourceName = $route['resource_name'] ?? $resource; |
| 56 | 56 | |