@@ -68,13 +68,13 @@ public function isDev(ViteHelperConfig|string|null $config = null): bool
6868 * * devEntries (string[]): entry files in development mode
6969 * * other options are rendered as attributes to the html tag
7070 *
71- * @param string| array $options file entrypoint or script options
71+ * @param array|string $options file entrypoint or script options
7272 * @param \ViteHelper\Utilities\ViteHelperConfig|string|null $config config key or instance to use
7373 * @return void
7474 * @throws \ViteHelper\Exception\ConfigurationException
7575 * @throws \ViteHelper\Exception\ManifestNotFoundException|\ViteHelper\Exception\InvalidArgumentException
7676 */
77- public function script (string | array $ options = [], ViteHelperConfig |string |null $ config = null ): void
77+ public function script (array | string $ options = [], ViteHelperConfig |string |null $ config = null ): void
7878 {
7979 $ config = $ this ->createConfig ($ config );
8080 if (is_string ($ options )) {
@@ -207,14 +207,14 @@ private function productionScript(array $options, ViteHelperConfig $config): voi
207207 * * devEntries (string[]): entry files in development mode
208208 * * other options are rendered as attributes to the html tag
209209 *
210- * @param string| array $options file entrypoint or css options
210+ * @param array|string $options file entrypoint or css options
211211 * @param \ViteHelper\Utilities\ViteHelperConfig|string|null $config config key or instance to use
212212 * @return void
213213 * @throws \ViteHelper\Exception\ManifestNotFoundException
214214 * @throws \ViteHelper\Exception\ConfigurationException
215215 * @throws \ViteHelper\Exception\InvalidArgumentException
216216 */
217- public function css (string | array $ options = [], ViteHelperConfig |string |null $ config = null ): void
217+ public function css (array | string $ options = [], ViteHelperConfig |string |null $ config = null ): void
218218 {
219219 $ config = $ this ->createConfig ($ config );
220220 if (is_string ($ options )) {
0 commit comments