Fix class/function case mismatches
authorMax Semenik <maxsem.wiki@gmail.com>
Fri, 4 May 2018 06:58:42 +0000 (23:58 -0700)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 5 May 2018 22:16:04 +0000 (22:16 +0000)
Change-Id: I25632d4db5a451975cb7a678372d8675c28c0897

includes/filerepo/file/ForeignAPIFile.php
includes/htmlform/fields/HTMLExpiryField.php
includes/specials/SpecialUserrights.php

index be88b49..8b4399e 100644 (file)
@@ -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
index b68c7e3..dfe6a8a 100644 (file)
@@ -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() {
index 6d6bf0e..a05452d 100644 (file)
@@ -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 .= "<br />\n";
                                        } else {