Skip to content

Commit c561e0e

Browse files
Fix cs issues
1 parent 03ab93f commit c561e0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/View/Helper/ViteScriptsHelper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)