From 3fbe0b94bab3cf53e7f7e3da92e9649b797958ed Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sun, 1 May 2022 13:13:16 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- config/hyde.php | 4 ++-- src/Concerns/Internal/AssetManager.php | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/hyde.php b/config/hyde.php index d2921232..8cea0f5a 100644 --- a/config/hyde.php +++ b/config/hyde.php @@ -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, diff --git a/src/Concerns/Internal/AssetManager.php b/src/Concerns/Internal/AssetManager.php index 4a7d0bca..7bc76a9a 100644 --- a/src/Concerns/Internal/AssetManager.php +++ b/src/Concerns/Internal/AssetManager.php @@ -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; } /**