Make MalformedTitleException errorMessage non-null
authorLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Tue, 20 Jun 2017 18:26:04 +0000 (20:26 +0200)
committerLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Wed, 21 Jun 2017 13:22:05 +0000 (15:22 +0200)
commit4d04f91c838a6f0421cbf48a4e926efb26d2d17b
tree58a2f8f33acc47a0962ada7e82cd73a9d3c6da33
parent4d94cc1432759b89b1e90b982c4e27a5157ebca3
Make MalformedTitleException errorMessage non-null

A null $errorMessage constructor argument has not been supported since
I43d988602b, since wfMessage (via the Message constructor) throws an
exception if the message key is null. It follows that getErrorMessage()
can never return null.

Bug: T99818
Change-Id: I2cbf4909e7237b0a91d100cc5478fb4cfee1d748
includes/title/MalformedTitleException.php