diff --git a/src/Application/UI/Link.php b/src/Application/UI/Link.php index a48ddc5f2..751dc999f 100644 --- a/src/Application/UI/Link.php +++ b/src/Application/UI/Link.php @@ -93,6 +93,7 @@ public function __toString(): string throw $e; } trigger_error('Exception in ' . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR); + return ''; } } } diff --git a/src/Bridges/ApplicationLatte/Template.php b/src/Bridges/ApplicationLatte/Template.php index 5107e8d13..bda6e7d91 100644 --- a/src/Bridges/ApplicationLatte/Template.php +++ b/src/Bridges/ApplicationLatte/Template.php @@ -73,6 +73,7 @@ public function __toString(): string throw $e; } trigger_error('Exception in ' . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR); + return ''; } }