Skip to content

Commit

Permalink
fix type declaration for the path
Browse files Browse the repository at this point in the history
add the option to pass an array to mix() to the type declaration so your IDE of choice knows whats up
  • Loading branch information
therephil authored Apr 9, 2021
1 parent a55afcf commit 5e0cc24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
/**
* Get the appropriate HTML tag with the right path for the (versioned) Mix file.
*
* @param string $path Path as it appears in the mix-manifest.json
* @param string|array $path Path as it appears in the mix-manifest.json or an
* array of paths to look for
* @param string|bool|array $options Pass an array of attributes for the tag
* or a string/bool. A string behaves in the same way as in Kirby's `css()`
* and `js()` helper functions: for css files it will be used as the value
Expand Down

0 comments on commit 5e0cc24

Please sign in to comment.