collation: Remove suppressWarnings() for getSortKey()
authorOri Livneh <ori@wikimedia.org>
Mon, 23 May 2016 22:43:16 +0000 (15:43 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 26 May 2016 16:43:44 +0000 (17:43 +0100)
commit8fc4dea67935fb0fa40a08c3be43d124a763321a
treea8cda25a62a734ea0de1b783ddbd3aa029940058
parente04a717196cb23161acfff17e7e31c219112ad8d
collation: Remove suppressWarnings() for getSortKey()

Small optimization to IcuCollation::fetchFirstLetterData().

This used to suppress / restore warnings once per every letter of
every alphabet. The workaround for string casting and error
suppression is no longer needed as of PHP 5.3, in which the
bug was fixed.

Change-Id: Idd41a509858c0887df4f632b480b387bd74027b2
includes/collation/IcuCollation.php