resourceloader: Fix return type doc for getSelectors() method

So I've checked and this method should return an array and this array
specifically is an array of strings (string[]). In addition, remove an
irrelevant semicolon after foreach().

Change-Id: Id7dffe882583a7555d87a5b9c409584478c30a8c
This commit is contained in:
Derick Alangi 2019-04-04 11:27:22 +01:00
parent 777b59b355
commit 6aed4cefdc

View file

@ -220,7 +220,7 @@ class ResourceLoaderImageModule extends ResourceLoaderModule {
/**
* Get CSS selector templates used by this module.
* @return string
* @return string[]
*/
public function getSelectors() {
$this->loadFromDefinition();
@ -428,7 +428,7 @@ class ResourceLoaderImageModule extends ResourceLoaderModule {
'selectorWithVariant',
] as $member ) {
$options[$member] = $this->{$member};
};
}
$summary[] = [
'options' => $options,