MediaWikiServices: Add return type hint to getHtmlCacheUpdater()

Change-Id: I764552a2490ac0c408e615ca14eb3c5e114ab67c
This commit is contained in:
Derick A 2020-04-30 14:31:11 +01:00
parent dab27d410b
commit 5326d4c07b

View file

@ -707,7 +707,7 @@ class MediaWikiServices extends ServiceContainer {
* @since 1.35
* @return HtmlCacheUpdater
*/
public function getHtmlCacheUpdater() {
public function getHtmlCacheUpdater() : HtmlCacheUpdater {
return $this->getService( 'HtmlCacheUpdater' );
}