X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2Fcontent%2FContentHandler.php;h=9fbb72cd1b2ff8b8a4c084238c23c15ced97626a;hb=ecc63fb7fe1134d064772fa71493575235b809ca;hp=f1df08735497cb84d3d95403324edd8deade0952;hpb=35ea4313e51ffa087546f3929b7a6b7eccd428fa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php index f1df087354..9fbb72cd1b 100644 --- a/includes/content/ContentHandler.php +++ b/includes/content/ContentHandler.php @@ -1102,7 +1102,7 @@ abstract class ContentHandler { * @param Revision|Content $undoafter Must be from an earlier revision than $undo * @param bool $undoIsLatest Set true if $undo is from the current revision (since 1.32) * - * @return mixed Content on success, false on failure + * @return Content|false Content on success, false on failure */ public function getUndoContent( $current, $undo, $undoafter, $undoIsLatest = false ) { Assert::parameterType( Revision::class . '|' . Content::class, $current, '$current' );