From: Max Semenik Date: Fri, 4 May 2018 06:58:42 +0000 (-0700) Subject: Fix class/function case mismatches X-Git-Tag: 1.34.0-rc.0~5517 X-Git-Url: http://git.cyclocoop.org/%27%40script%40/Special:FilePath/%27%20%20s.iframeSrc%20%20%27?a=commitdiff_plain;h=94e7349de4d810570f24f0bdc4869e1cd1a209d6;p=lhc%2Fweb%2Fwiklou.git Fix class/function case mismatches Change-Id: I25632d4db5a451975cb7a678372d8675c28c0897 --- 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 {