Test Setup Failed
Push — main ( abdcb9...2e5f68 )
by Slawomir
04:37
created
src/Infrastructure/Utils/StringUtil.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         if ($body == null) {
15 15
             return "";
16 16
         }
17
-        $short = strlen($body) - 1 < $maxLength ? $body : trim(substr($body, 0, $maxLength)). "...";
18
-        return strip_tags($short) ;;
17
+        $short = strlen($body) - 1 < $maxLength ? $body : trim(substr($body, 0, $maxLength))."...";
18
+        return strip_tags($short); ;
19 19
     }
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.