This commit is contained in:
2020-09-01 04:14:55 +08:00
parent 92314164ca
commit cdce8f088c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class Websocket extends Annotation
{
$prefix = 'WEBSOCKET:ANNOTATION:' . $events;
if (isset($comment[2])) {
return $prefix . ':' . $comment[2];
return rtrim($prefix, ':') . ':' . $comment[2];
}
return $prefix;
}