Skip to content

Commit 38b3645

Browse files
authored
Return a type for the cache page to work (#233)
1 parent 704a89f commit 38b3645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Assets/AssetContainerContents.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function directories()
4141

4242
$this->folders = Cache::remember($this->key(), $this->ttl(), function () {
4343
return collect($this->directoryRecurse(''))
44-
->map(fn ($dir) => ['path' => $dir]);
44+
->map(fn ($dir) => ['path' => $dir, 'type' => 'dir']);
4545
});
4646

4747
return $this->folders;

0 commit comments

Comments
 (0)