Use shorter ?: syntax in Revision class
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 9 Jan 2019 15:49:25 +0000 (16:49 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 4 Feb 2019 18:42:13 +0000 (18:42 +0000)
commit960a1acd5adee9395a0930f05695636263cbda02
tree03f8090ea1198cfa36d25cb99efdbc4d04231364
parent4465113b4787344078a0a8f13d322847ea9b3e83
Use shorter ?: syntax in Revision class

This is semantically the same because the returned object can't be
anything but an object (which can never be false), or null. Personlly,
I find the more expressive "=== null" check does not help here, but
makes the code a little harder to read.

Change-Id: Ib7390a7680f24fec7f5b9cea716603c14ad3f2dd
includes/Revision.php