summaryrefslogtreecommitdiff
path: root/src/Assets.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Assets.php')
-rw-r--r--src/Assets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Assets.php b/src/Assets.php
index b9f3a57..6050176 100644
--- a/src/Assets.php
+++ b/src/Assets.php
@@ -101,7 +101,7 @@ class Assets
{
$file = new FileString($file);
$manifest = $this->getFileManifest($file);
- $url = $manifest->getUrl($file->fileUri) ?? $file->fileUri;
+ $url = $manifest?->getUrl($file->fileUri) ?? $file->fileUri;
$file = new $fileClass($url);
$this->pushFile($file, $footer);