Merge "Remember checkbox state on Special:Block if checkbox disabled"
[lhc/web/wiklou.git] / includes / block / SystemBlock.php
index 2a8c663..0cbf125 100644 (file)
@@ -45,7 +45,7 @@ class SystemBlock extends AbstractBlock {
         *                          in the database. Value is a string to return
         *                          from self::getSystemBlockType().
         */
-       function __construct( $options = [] ) {
+       public function __construct( array $options = [] ) {
                parent::__construct( $options );
 
                $defaults = [
@@ -76,7 +76,8 @@ class SystemBlock extends AbstractBlock {
         */
        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';