From 4c6a702c618586908b7c6c8166e0a88d96bddfba Mon Sep 17 00:00:00 2001 From: tabacitu Date: Thu, 26 Dec 2024 13:56:46 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/BassetManager.php | 2 +- src/Helpers/CacheEntry.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/BassetManager.php b/src/BassetManager.php index e6e02c6..0da63d4 100644 --- a/src/BassetManager.php +++ b/src/BassetManager.php @@ -92,7 +92,7 @@ public function map(string $asset, string $source, array $attributes = []): void } $this->namedAssets[$asset] = [ - 'source' => $source, + 'source' => $source, 'attributes' => $attributes, ]; } diff --git a/src/Helpers/CacheEntry.php b/src/Helpers/CacheEntry.php index 3262d0d..828695c 100644 --- a/src/Helpers/CacheEntry.php +++ b/src/Helpers/CacheEntry.php @@ -121,11 +121,11 @@ public function isLocalAsset() public function toArray(): array { return [ - 'asset_name' => $this->assetName, - 'asset_path' => $this->assetPath, + 'asset_name' => $this->assetName, + 'asset_path' => $this->assetPath, 'asset_disk_path' => isset($this->assetDiskPath) ? $this->assetDiskPath : $this->getPathOnDisk($this->assetPath), - 'attributes' => $this->attributes, - 'content_hash' => $this->content_hash, + 'attributes' => $this->attributes, + 'content_hash' => $this->content_hash, ]; }