mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-15 03:35:01 +00:00
Merge "fix ::getTruncatedSectionTitle() return type"
This commit is contained in:
commit
570d326543
|
@ -127,7 +127,7 @@ class EchoPresentationModelSection {
|
|||
/**
|
||||
* Get truncated section title, according to user's language.
|
||||
* You should only call this if EchoPresentationModelSection::exists returns true.
|
||||
* @return string
|
||||
* @return string|false
|
||||
*/
|
||||
public function getTruncatedSectionTitle() {
|
||||
return $this->language->embedBidi( $this->language->truncateForVisual(
|
||||
|
|
Loading…
Reference in a new issue