rdbms: Use more narrow type hints in LBFactoryTest
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Tue, 12 Feb 2019 12:01:26 +0000 (13:01 +0100)
committerKrinkle <krinklemail@gmail.com>
Wed, 13 Feb 2019 18:27:26 +0000 (18:27 +0000)
commiteee735a1767f5be06e5247c0eafc80ee0f1b7fdd
tree55d5baf5eae0124de66b71f3beb964d87e1d9a59
parentf51c9e889f24091d3e20488530c1f80900059868
rdbms: Use more narrow type hints in LBFactoryTest

Originally I wanted to fix the broken type hint for the `Database`
class. But I ended limiting the scope as much as possible and only
type hint at the interfaces that contain the methods the code actually
needs.

Change-Id: I450a55e80612f6e676f7c803dc904b4b653426d8
tests/phpunit/includes/db/LBFactoryTest.php