Passed
Push — main ( 2d780d...626d9d )
by Slawomir
04:30
created
src/Infrastructure/Events/Api/ApplicationEventSubscriber.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,9 +54,9 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
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.