diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-07-24 11:57:52 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-08-08 14:25:44 +0200 |
commit | e2e6f23b6722eaf9c0aa2bf94626c6b1674aff0a (patch) | |
tree | 747e7bc0355dca939a7cc465d74e507b24e63114 /core | |
parent | e1561f0e8fa0437e485820cadb8c225e8d10d3df (diff) | |
download | nextcloud-server-e2e6f23b6722eaf9c0aa2bf94626c6b1674aff0a.tar.gz nextcloud-server-e2e6f23b6722eaf9c0aa2bf94626c6b1674aff0a.zip |
Suppress Phan warnings about calling undeclared class methods
The DeletedShareAPIController and ShareAPIController helpers for room
shares are defined in Talk, so the classes do not exist when Talk is not
installed. Due to this when the object returned by "getRoomShareHelper"
is used Phan complains that the class is not declared.
This is not a problem, though, because when the class is not available
"getRoomShareHelper" throws an exception, which is then caught where
that method was called. Therefore now those warnings from Phan are
suppressed (it would be better to use "@phan-suppress-next-line"
instead, but it is not yet available in our Phan version).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions