Skip to content
Commit e2e6f23b authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

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: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent e1561f0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment