Add null to Parser::getTitle return doc
authorSam Wilson <sam@samwilson.id.au>
Wed, 24 Jul 2019 05:00:13 +0000 (13:00 +0800)
committerSam Wilson <sam@samwilson.id.au>
Wed, 24 Jul 2019 05:00:13 +0000 (13:00 +0800)
Change-Id: I5086f636114cec83f0188d2309ea70aef27df13d

includes/parser/Parser.php

index 0721446..5821d3f 100644 (file)
@@ -890,7 +890,7 @@ class Parser {
        /**
         * Accessor for the Title object
         *
-        * @return Title
+        * @return Title|null
         */
        public function getTitle() {
                return $this->mTitle;