diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-03-31 06:37:51 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2023-03-31 06:37:51 +0000 |
| commit | eb45309782de7203a1aa7e5e66f2368054dbba5e (patch) | |
| tree | c8e581aa80ff5ebda413038f6c72fd958f7c3557 /lib | |
| parent | 80961d80220ff140c9b256aad42b57523d5d08d7 (diff) | |
replace gossi/docblock v1.6 with phpowermove/docblock v2.0.1, fixes #2494
Closes #2494
Merge request studip/studip!1679
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/classes/restapi/RouteMap.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/classes/restapi/RouteMap.php b/lib/classes/restapi/RouteMap.php index de5ebd7..0670f56 100644 --- a/lib/classes/restapi/RouteMap.php +++ b/lib/classes/restapi/RouteMap.php @@ -977,9 +977,9 @@ abstract class RouteMap } // Iterate through all methods of the routemap - foreach ($ref->getMethods() as $ref_method) { - // Not public? Not an api route! - if (!$ref_method->isPublic()) { + foreach ($ref->getMethods( \ReflectionMethod::IS_PUBLIC) as $ref_method) { + // No docblock? Not an api route! + if (!$ref_method->getDocComment()) { continue; } |
