We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0b6b4 commit 153ef31Copy full SHA for 153ef31
src/Listener/RouteInit.php
@@ -51,7 +51,7 @@ private function parseAnnotations(EventParam $e)
51
$eventName = 'IMI.ROUTE.INIT.DEFAULT:' . $serverTypeName;
52
foreach($controllerParser->getByServer($name) as $className => $classItem)
53
{
54
- $classAnnotation = $classItem['annotation'];
+ $classAnnotation = $classItem->getAnnotation();
55
foreach(AnnotationManager::getMethodsAnnotations($className, RpcAction::class) as $methodName => $actionAnnotations)
56
57
$routes = AnnotationManager::getMethodAnnotations($className, $methodName, RpcRoute::class);
0 commit comments