From 94e7349de4d810570f24f0bdc4869e1cd1a209d6 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Thu, 3 May 2018 23:58:42 -0700 Subject: [PATCH] Fix class/function case mismatches Change-Id: I25632d4db5a451975cb7a678372d8675c28c0897 --- includes/filerepo/file/ForeignAPIFile.php | 2 +- includes/htmlform/fields/HTMLExpiryField.php | 2 +- includes/specials/SpecialUserrights.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/filerepo/file/ForeignAPIFile.php b/includes/filerepo/file/ForeignAPIFile.php index be88b49a60..8b4399e566 100644 --- a/includes/filerepo/file/ForeignAPIFile.php +++ b/includes/filerepo/file/ForeignAPIFile.php @@ -33,7 +33,7 @@ class ForeignAPIFile extends File { /** @var array */ private $mInfo = []; - protected $repoClass = ForeignApiRepo::class; + protected $repoClass = ForeignAPIRepo::class; /** * @param Title|string|bool $title diff --git a/includes/htmlform/fields/HTMLExpiryField.php b/includes/htmlform/fields/HTMLExpiryField.php index b68c7e3435..dfe6a8a623 100644 --- a/includes/htmlform/fields/HTMLExpiryField.php +++ b/includes/htmlform/fields/HTMLExpiryField.php @@ -29,7 +29,7 @@ class HTMLExpiryField extends HTMLFormField { * Use whatever the relative field is as the standard HTML input. */ public function getInputHTML( $value ) { - return $this->relativeField->getInputHtml( $value ); + return $this->relativeField->getInputHTML( $value ); } protected function shouldInfuseOOUI() { diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index 6d6bf0ef4a..a05452d014 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -882,7 +882,7 @@ class UserrightsPage extends SpecialPage { } // T171345: Add a hidden form element so that other groups can still be manipulated, // otherwise saving errors out with an invalid expiry time for this group. - $expiryHtml .= Html::Hidden( "wpExpiry-$group", + $expiryHtml .= Html::hidden( "wpExpiry-$group", $currentExpiry ? 'existing' : 'infinite' ); $expiryHtml .= "
\n"; } else { -- 2.20.1