Fix-ups to comments and User interface usages

* Use isRegistered() from the more narrow UserIdentity interface.
* More specific type hints.
* Remove comments that literally repeat the code.

Change-Id: Icd0eaf8236be41b258efcf81d581540d2448e9e3
This commit is contained in:
Thiemo Kreuz committed 2022-04-20 09:54:25 +02:00
1 parent 5009917eba
commit 78c25ebcf7
5 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ class ResourceLoaderULSModule extends ResourceLoaderModule {
/**
* Get all the dynamic data for the content language to an array.
*
* @param string $languageCode Language code
* @param string $languageCode
* @return array
*/
private function getData( $languageCode ) {