logging: Remove 'null' return from ManualLogEntry::getTags()
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 2 Mar 2019 17:01:18 +0000 (17:01 +0000)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 2 Mar 2019 17:31:26 +0000 (17:31 +0000)
commit11aef1cc02c453552e35aad4f0018fb2b896915b
tree43c888615dd86e0c6c11432aae22fcf0787979d0
parent747bdd543d301e0816aa811806c6cc6b17ec1038
logging: Remove 'null' return from ManualLogEntry::getTags()

The documentation already claimed it returned array,
this is now actually true. Follows-up 037c06e886c63.

There are two ways it could be null:

* The setTags() method was never called, and the class member
  was implicitly null by default.

* The setTags() method was called with $tags = null.
  This happens WikiPage::doUpdateRestrictions() among other places.
  That could probably be fixed, but is out of scope for this change.

The getTags() method of this clss appears to have no outside
callers in MediaWiki core, nor in any other project indexed
by Codesearch.

Change-Id: Ib89c79ef90870506187c3c3b61464c2aa788c594
includes/logging/LogEntry.php