Skip to content
Snippets Groups Projects
Commit a5090975 authored by Paul Ilea's avatar Paul Ilea
Browse files

[BUGFIX] Return type of content altering method set to string

parent 3b56267f
No related branches found
No related tags found
No related merge requests found
...@@ -97,9 +97,9 @@ class PlaintextService { ...@@ -97,9 +97,9 @@ class PlaintextService {
* add linebreaks on some parts (</p> => </p><br>) * add linebreaks on some parts (</p> => </p><br>)
* *
* @param string $content * @param string $content
* @return array * @return string
*/ */
protected function addLineBreaks($content): array { protected function addLineBreaks($content): string {
$tags2LineBreaks = [ $tags2LineBreaks = [
'</p>', '</p>',
'</tr>', '</tr>',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment