Skip to content

Commit 27adf00

Browse files
committed
fix return of loadEntry
1 parent 75cae21 commit 27adf00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/View/Helper/AssetHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public function loadEntry($name, array $options = []): string {
6262

6363
$assets = $this->manifest['entrypoints'][$name];
6464

65-
$this->_writeEntries($assets, 'js', $options);
66-
$this->_writeEntries($assets, 'css', $options);
65+
return $this->_writeEntries($assets, 'js', $options + ['js' => []]) .
66+
$this->_writeEntries($assets, 'css', $options + ['css' => []]);
6767
}
6868

6969
public function loadEntryDeferred($name, array $options = []): void {

0 commit comments

Comments
 (0)