From 5e87d5e3419ca4f98b23173f9b1d1b3b2205c5d8 Mon Sep 17 00:00:00 2001 From: Hugues Tavernier Date: Fri, 3 Nov 2023 11:45:31 +0100 Subject: [PATCH] php-cs-fix --- src/Asset/EntrypointRenderer.php | 1 - src/Twig/EntryFilesTwigExtension.php | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Asset/EntrypointRenderer.php b/src/Asset/EntrypointRenderer.php index b80a8ae..d76be41 100644 --- a/src/Asset/EntrypointRenderer.php +++ b/src/Asset/EntrypointRenderer.php @@ -262,7 +262,6 @@ public function renderLinks( return $this->renderTags($tags, $isBuild, $toString); } - /** * @return string|array */ diff --git a/src/Twig/EntryFilesTwigExtension.php b/src/Twig/EntryFilesTwigExtension.php index 6a73ff8..a1f830b 100644 --- a/src/Twig/EntryFilesTwigExtension.php +++ b/src/Twig/EntryFilesTwigExtension.php @@ -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); }