* in the database. Value is a string to return
* from self::getSystemBlockType().
*/
- function __construct( $options = [] ) {
+ public function __construct( array $options = [] ) {
parent::__construct( $options );
$defaults = [
*/
public function getPermissionsError( IContextSource $context ) {
$params = $this->getBlockErrorParams( $context );
- // TODO: Clean up error messages params so we don't have to do this
+
+ // TODO: Clean up error messages params so we don't have to do this (T227174)
$params[ 4 ] = $this->getSystemBlockType();
$msg = 'systemblockedtext';