Skip to content

Commit

Permalink
Merge pull request #219 from hydephp/analysis-GDMrd9
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
caendesilva authored May 1, 2022
2 parents 9b2034d + 3fbe0b9 commit f101c5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@
| Since v0.15.0, the default Hyde styles are no longer included as
| publishable resources. This is to make updating easier, and to
| reduce complexity. Instead, the assets are loaded through the
| jsDelivr CDN.
| jsDelivr CDN.
|
| The CDN version is defined in the AssetService class,
| but can be changed here to a valid HydeFront tag.
|
| If you load HydeFront through Laravel Mix using the NPM package,
| you should disable the HydeFront CDN feature.
|
|
*/

'loadHydeAssetsUsingCDN' => true,
Expand Down
5 changes: 3 additions & 2 deletions src/Concerns/Internal/AssetManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ trait AssetManager
{
/**
* Get the asset service instance.
*
*
* @todo Refactor to load the service from the container.
*
* @return \Hyde\Framework\Services\AssetService
*/
public static function assetManager(): AssetService
{
return (new AssetService);
return new AssetService;
}

/**
Expand Down

0 comments on commit f101c5f

Please sign in to comment.