diff --git a/src/Service/Template.php b/src/Service/Template.php index 4eb4740..2b4dd73 100644 --- a/src/Service/Template.php +++ b/src/Service/Template.php @@ -13,8 +13,6 @@ namespace App\Service; * using PHP as a templating engine. */ -use JetBrains\PhpStorm\NoReturn; - class Template { /* @@ -28,8 +26,7 @@ class Template /* * Add variables to template and throw it out */ - #[NoReturn] - public function render(string $templateName, array $vars = []): void + public function render(string $templateName, array $vars = []): never { // assign template vars foreach ($vars as $name => $value) {