Skip to content

Commit 5e0cc24

Browse files
authored
fix type declaration for the path
add the option to pass an array to mix() to the type declaration so your IDE of choice knows whats up
1 parent a55afcf commit 5e0cc24

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)