diff --git a/src/Models/Link.php b/src/Models/Link.php index 6915bc61..e20a90d3 100644 --- a/src/Models/Link.php +++ b/src/Models/Link.php @@ -248,10 +248,8 @@ public function getData(): array * * This is returned when you access a link as $LinkRelation or $Me rather * than <% with LinkRelation %> - * - * @return DBHTMLText */ - public function forTemplate() + public function forTemplate(): string { // First look for a subclass of the email template e.g. EmailLink.ss which may be defined // in a project. Fallback to using the generic Link.ss template which this module provides