diff --git a/src/helpers/PluginTemplate.php b/src/helpers/PluginTemplate.php index 0f9603c..a8ee24c 100644 --- a/src/helpers/PluginTemplate.php +++ b/src/helpers/PluginTemplate.php @@ -60,7 +60,8 @@ public static function renderPluginTemplate( string $templatePath, array $params = [], string $minifier = null, - ): string { + ): string + { // Stash the old template mode, and set it Control Panel template mode $oldMode = Craft::$app->view->getTemplateMode(); try { @@ -77,7 +78,6 @@ public static function renderPluginTemplate( /** @var Minify|null $minify */ $minify = Craft::$app->getPlugins()->getPlugin(self::MINIFY_PLUGIN_HANDLE); if ($minify) { - /** @phpstan-ignore-next-line */ $htmlText = $minify->minify->$minifier($htmlText); } }