Skip to content

Commit f6ce4c9

Browse files
authored
Fixed amqp consumer does not starts when using coroutine style server. (#2589)
* Fixed amqp consumer does not starts when using coroutine style server. * Update CHANGELOG-2.0.md
1 parent 98647ae commit f6ce4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Annotation/AnnotationCollector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static function getClassByAnnotation(string $annotation): array
5252
return self::getClassesByAnnotation($annotation);
5353
}
5454

55-
public static function getClassesByAnnotation(string $annotation)
55+
public static function getClassesByAnnotation(string $annotation): array
5656
{
5757
$result = [];
5858
foreach (static::$container as $class => $metadata) {

0 commit comments

Comments
 (0)