Doc: add missed return type to Title::getEarliestRevTime()
authorStephen Niedzielski <stephen@niedzielski.com>
Mon, 22 Oct 2018 15:36:47 +0000 (09:36 -0600)
committerNiedzielski <sniedzielski@wikimedia.org>
Wed, 31 Oct 2018 22:01:58 +0000 (22:01 +0000)
Change-Id: I98faa04fb9a4710daffa3c55ba3f61df0e12d71b

includes/Title.php

index 51d8b13..038e8b1 100644 (file)
@@ -4438,7 +4438,7 @@ class Title implements LinkTarget {
         * Get the oldest revision timestamp of this page
         *
         * @param int $flags Title::GAID_FOR_UPDATE
-        * @return string MW timestamp
+        * @return string|null MW timestamp
         */
        public function getEarliestRevTime( $flags = 0 ) {
                $rev = $this->getFirstRevision( $flags );