From 5e0cc24f98ead5744320acf4238f42c5e898e73f Mon Sep 17 00:00:00 2001 From: Philip Date: Fri, 9 Apr 2021 12:01:47 +0200 Subject: [PATCH] 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 --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 8dabdfc..664f9d4 100644 --- a/index.php +++ b/index.php @@ -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