From a5090975f1549fc10c939b5a999f2526c3556213 Mon Sep 17 00:00:00 2001 From: Paul Ilea <paul@sgalinski.de> Date: Thu, 13 Jun 2019 19:07:01 +0300 Subject: [PATCH] [BUGFIX] Return type of content altering method set to string --- Classes/Service/PlaintextService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Service/PlaintextService.php b/Classes/Service/PlaintextService.php index 57b963cb..65bc732c 100644 --- a/Classes/Service/PlaintextService.php +++ b/Classes/Service/PlaintextService.php @@ -97,9 +97,9 @@ class PlaintextService { * add linebreaks on some parts (</p> => </p><br>) * * @param string $content - * @return array + * @return string */ - protected function addLineBreaks($content): array { + protected function addLineBreaks($content): string { $tags2LineBreaks = [ '</p>', '</tr>', -- GitLab