mirror of
https://github.com/nextcloud/server.git
synced 2026-06-03 13:58:55 -04:00
fix(since): Ignore private methods in OCP
fix(since): Ignore private methods in OCP Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> [skip ci]
This commit is contained in:
parent
beef35d64e
commit
b323ea9994
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class OcpSinceChecker implements Psalm\Plugin\EventHandler\AfterClassLikeVisitIn
|
|||
self::checkStatementComment($stmt, $statementsSource, 'constant');
|
||||
}
|
||||
|
||||
if ($stmt instanceof ClassMethod) {
|
||||
if ($stmt instanceof ClassMethod && ($stmt->isPublic() || $stmt->isProtected())) {
|
||||
self::checkStatementComment($stmt, $statementsSource, 'method');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue