Skip to content

Commit 4409f65

Browse files
committed
🩹 fallback to empty array
1 parent 16b91ac commit 4409f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Roots/Acorn/Assets/Bundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function js(?callable $callable = null)
9494
*/
9595
public function dependencies()
9696
{
97-
return $this->bundle['dependencies'];
97+
return $this->bundle['dependencies'] ?? [];
9898
}
9999

100100
/**

0 commit comments

Comments
 (0)