@@ -25,6 +25,6 @@ |
||
25 | 25 | if ($user instanceof LoggedInUser) { |
26 | 26 | return $user; |
27 | 27 | } |
28 | - throw new \RuntimeException("Unsupported User Class: " . $user::class); |
|
28 | + throw new \RuntimeException("Unsupported User Class: ".$user::class); |
|
29 | 29 | } |
30 | 30 | } |
31 | 31 | \ No newline at end of file |
@@ -14,7 +14,7 @@ |
||
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 |