Remove unused phan suppressions

Change-Id: Ib42f9b00948506ae2c053f51cb7dfddb0f7eb480
This commit is contained in:
Jakob Warkotsch 2024-06-28 12:15:28 +02:00
parent bc5ff46176
commit 0bd53dfeb1

View file

@ -43,12 +43,8 @@ class ConfirmEditHandler implements EditFilterMergedContentHook {
// will run in a narrower scope (not invoking ConfirmEdit's onConfirmEditTriggersCaptcha hook,
// for example), and will just make sure that the status is modified to present a CAPTCHA to
// the user.
// FIXME: Remove phan suppression after I3484d66298bc9f49dfbe003a0605e2ac1a092e10 is merged
// @phan-suppress-next-line PhanUndeclaredMethod
if ( $simpleCaptcha->shouldForceShowCaptcha() &&
// @phan-suppress-next-line PhanUndeclaredMethod
!$simpleCaptcha->isCaptchaSolved() &&
// @phan-suppress-next-line PhanUndeclaredMethod
$simpleCaptcha->editFilterMergedContentHandlerAlreadyInvoked() ) {
return $simpleCaptcha->confirmEditMerged(
$context,