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:
parent
777b59b355
commit
6aed4cefdc
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue