From: Kunal Mehta Date: Sun, 25 Feb 2018 02:49:08 +0000 (-0800) Subject: content: Fix @return doc for AbstractContent::getDeletionUpdates() X-Git-Tag: 1.31.0-rc.0~510 X-Git-Url: https://git.cyclocoop.org/%27%20.%20%24this-%3EgetSkin%28%29-%3EescapeSearchLink%28%29%20.%20%27?a=commitdiff_plain;h=49a7fdfe8307fb4d739289d767c9458204edced7;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 */