@@ -54,9 +54,9 @@ |
||
54 | 54 | { |
55 | 55 | return $this |
56 | 56 | ->subscribedHandlers |
57 | - ->filter(function ($value, $key) use ($event) { |
|
57 | + ->filter(function($value, $key) use ($event) { |
|
58 | 58 | return $key == $event->getName(); |
59 | - })->map(function ($value) { |
|
59 | + })->map(function($value) { |
|
60 | 60 | return $value; |
61 | 61 | })->toArray(); |
62 | 62 | } |
@@ -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 |