FancyCaptcha: Fix return type for showImage()

Change-Id: I53875ffa1d795c267f6d9d04caa6bda4c5aba038
This commit is contained in:
Reedy 2024-07-19 15:00:07 +01:00
parent 7f93c46dc5
commit 7f02c769df

View file

@ -16,7 +16,6 @@ use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Utils\MWTimestamp;
use MediaWiki\WikiMap\WikiMap;
use NullLockManager;
use StatusValue;
use UnderflowException;
/**
@ -385,7 +384,7 @@ class FancyCaptcha extends SimpleCaptcha {
}
/**
* @return bool|StatusValue
* @return bool
*/
public function showImage() {
$context = RequestContext::getMain();