diff --git a/includes/Hooks.php b/includes/Hooks.php index 955d42711d..c8561c24a1 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -410,6 +410,7 @@ class Hooks implements $out = $article->getContext()->getOutput(); $titleMsg = $title->exists() ? 'editing' : 'creating'; $out->setPageTitleMsg( wfMessage( $titleMsg, $title->getPrefixedText() ) ); + // @phan-suppress-next-line PhanTypeMismatchArgumentNullable Only null for invalid URL, shouldn't happen $out->showPendingTakeover( $url, 'visualeditor-toload', $urlUtils->expand( $url ) ); $out->setRevisionId( $req->getInt( 'oldid', $article->getRevIdFetched() ) );