mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(since): Ignore private methods in OCP
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
fd8d7878d4
commit
aee960cc5a
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