getCode() returns string

This commit is contained in:
2021-04-02 22:47:11 +02:00
parent 40f0c7f76e
commit e47b6d3400
6 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ namespace Objects {
}
public function getId() { return $this->languageId; }
public function getCode() { return $this->langCode; }
public function getCode(): string { return $this->langCode; }
public function getShortCode() { return substr($this->langCode, 0, 2); }
public function getName() { return $this->langName; }
public function getIconPath() { return "/img/icons/lang/$this->langCode.gif"; }