content: Fix @return doc for AbstractContent::getDeletionUpdates()
authorKunal Mehta <legoktm@member.fsf.org>
Sun, 25 Feb 2018 02:49:08 +0000 (18:49 -0800)
committerUmherirrender <umherirrender_de.wp@web.de>
Sun, 25 Feb 2018 11:16:19 +0000 (11:16 +0000)
If a subclass re-implements this function, then there's no guarantee
that it will be returning instances of LinksDelet

Change-Id: I09a0c0a786b687997e61344847f8af08b20cebf2

includes/content/AbstractContent.php

index 65dc3bb..b21eadc 100644 (file)
@@ -426,7 +426,7 @@ abstract class AbstractContent implements Content {
         * @param WikiPage $page
         * @param ParserOutput|null $parserOutput
         *
-        * @return LinksDeletionUpdate[]
+        * @return DeferrableUpdate[]
         *
         * @see Content::getDeletionUpdates
         */