From 49a7fdfe8307fb4d739289d767c9458204edced7 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 24 Feb 2018 18:49:08 -0800 Subject: [PATCH] content: Fix @return doc for AbstractContent::getDeletionUpdates() 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/content/AbstractContent.php b/includes/content/AbstractContent.php index 65dc3bb19b..b21eadcd14 100644 --- a/includes/content/AbstractContent.php +++ b/includes/content/AbstractContent.php @@ -426,7 +426,7 @@ abstract class AbstractContent implements Content { * @param WikiPage $page * @param ParserOutput|null $parserOutput * - * @return LinksDeletionUpdate[] + * @return DeferrableUpdate[] * * @see Content::getDeletionUpdates */ -- 2.20.1