fix getLocales method
This commit is contained in:
parent
3a5849d91a
commit
a269395b9e
@ -70,11 +70,11 @@ class ItemsCollection
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Collection
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function getLocales(): Collection
|
public function getLocales(): array
|
||||||
{
|
{
|
||||||
return $this->locales->keys();
|
return array_keys($this->locales);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user