SearchResult: MW version number should be a string in wfDeprecated call
authorDerick Alangi <alangiderick@gmail.com>
Tue, 14 May 2019 11:28:35 +0000 (12:28 +0100)
committerReedy <reedy@wikimedia.org>
Tue, 14 May 2019 12:36:30 +0000 (12:36 +0000)
commitfacddc488ae8714e1f41035599a8f54056d0ab2f
tree623b6c2406dfd278d19afb0bdf51e0ab20e1bc6b
parent8c59f43b3342292a464db5df492e478b29a64aa5
SearchResult: MW version number should be a string in wfDeprecated call

Seems this was a typo and I think 1.32 which is a double/float will be
implicitly converted to true (bool) because it will resolve 1.32 to 1 as
integer and then 1 which maps to true (bool).

To avoid this, use '1.32' instead of the integer form of the version.

Change-Id: I2420396e110284f582cd79820ffc6064e247b4b9
includes/search/SearchResult.php