Add missing PHPDoc block to DifferenceEngine::getParserOutput
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Thu, 1 Feb 2018 11:48:29 +0000 (12:48 +0100)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Thu, 1 Feb 2018 11:49:57 +0000 (12:49 +0100)
Bug: T186163
Change-Id: Ifde6f8e458d90b1ec250dc4d587cd428717fe509

includes/diff/DifferenceEngine.php

index 7e05be6..e76bffc 100644 (file)
@@ -650,6 +650,12 @@ class DifferenceEngine extends ContextSource {
                }
        }
 
                }
        }
 
+       /**
+        * @param WikiPage $page
+        * @param Revision $rev
+        *
+        * @return ParserOutput|bool False if the revision was not found
+        */
        protected function getParserOutput( WikiPage $page, Revision $rev ) {
                $parserOptions = $page->makeParserOptions( $this->getContext() );
 
        protected function getParserOutput( WikiPage $page, Revision $rev ) {
                $parserOptions = $page->makeParserOptions( $this->getContext() );