Update docblocks for methods potentially returning null
authorDaimona Eaytoy <daimona.wiki@gmail.com>
Sun, 15 Sep 2019 13:22:08 +0000 (15:22 +0200)
committerDaimona Eaytoy <daimona.wiki@gmail.com>
Sun, 15 Sep 2019 15:22:39 +0000 (15:22 +0000)
commitdddc912fd63aa5982ff6da2249300c2127ca6992
tree290c1b80ba8c2ae3ea9451a576d08378c21c969d
parent3bbda79f1f09649bc4d036f2810117df46166f9c
Update docblocks for methods potentially returning null

These were discovered by setting `null_casts_as_any_type` to true in
phan, and filtering by `PhanTypeMismatchReturnNullable`. Of course there
are others, some of which are false positives, but we cannot suppress
them now (or the UnusedSuppressionPlugin will complain).

Change-Id: Ia8443e575c22f47a6d8c63038f4e7ac36815fc27
includes/EditPage.php
includes/GlobalFunctions.php
includes/WebRequest.php
includes/actions/SpecialPageAction.php
includes/api/ApiQueryQueryPage.php
includes/import/WikiImporter.php
includes/parser/CoreParserFunctions.php
includes/site/MediaWikiSite.php
includes/site/Site.php