Skip to content

Commit 91fe17d

Browse files
authored
Merge pull request #9 from therephil/patch-1
fix type declaration for the path
2 parents ba39cea + 5e0cc24 commit 91fe17d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
/**
88
* Get the appropriate HTML tag with the right path for the (versioned) Mix file.
99
*
10-
* @param string $path Path as it appears in the mix-manifest.json
10+
* @param string|array $path Path as it appears in the mix-manifest.json or an
11+
* array of paths to look for
1112
* @param string|bool|array $options Pass an array of attributes for the tag
1213
* or a string/bool. A string behaves in the same way as in Kirby's `css()`
1314
* and `js()` helper functions: for css files it will be used as the value

0 commit comments

Comments
 (0)