blob: 38c3530adc97b6225253c903422864b7081d6e0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\TranslatorInterface\Aid;
use MediaWiki\Extension\Translate\TranslatorInterface\TranslationHelperException;
/**
* Dummy translation aid that always errors
* @author Harry Burt
* @license GPL-2.0-or-later
* @since 2013-03-29
* @ingroup TranslationAids
* @phan-file-suppress PhanPluginNeverReturnMethod
*/
class UnsupportedTranslationAid extends TranslationAid {
public function getData(): array {
throw new TranslationHelperException( 'This translation aid is disabled' );
}
}
|