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, ]; }