Skip to content

Commit

Permalink
php-cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lhapaipai committed Nov 3, 2023
1 parent b31dbb8 commit 5e87d5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Asset/EntrypointRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ public function renderLinks(
return $this->renderTags($tags, $isBuild, $toString);
}


/**
* @return string|array
*/
Expand Down
6 changes: 3 additions & 3 deletions src/Twig/EntryFilesTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ public function getFunctions(): array
];
}

public function getViteMode(?string $configName = null): ?string
public function getViteMode(string $configName = null): ?string
{
return $this->entrypointRenderer->getMode($configName);
}

public function renderViteScriptTags(string $entryName, array $options = [], ?string $configName = null): string
public function renderViteScriptTags(string $entryName, array $options = [], string $configName = null): string
{
return $this->entrypointRenderer->renderScripts($entryName, $options, $configName);
}

public function renderViteLinkTags(string $entryName, array $options = [], ?string $configName = null): string
public function renderViteLinkTags(string $entryName, array $options = [], string $configName = null): string
{
return $this->entrypointRenderer->renderLinks($entryName, $options, $configName);
}
Expand Down

0 comments on commit 5e87d5e

Please sign in to comment.