Skip to content

Commit

Permalink
Merge pull request #53 from RonasIT/dpankratov/fix-annotations-bug
Browse files Browse the repository at this point in the history
fix: fixed calling undefined getClassAnnotations method;
  • Loading branch information
DenTray authored Jul 19, 2022
2 parents 94e4242 + 7fd792f commit e337596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/SwaggerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ protected function getResponseDescription($code)
return $defaultDescription;
}

$annotations = $this->getClassAnnotations($request);
$annotations = $this->annotationReader->getClassAnnotations($request);

$localDescription = Arr::get($annotations, "_{$code}");

Expand Down

0 comments on commit e337596

Please sign in to comment.