mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 03:04:36 +00:00
Removed type conversions where no longer needed
PHP 8.1 PDO SQLite now returns native data types
This commit is contained in:
@@ -44,7 +44,7 @@ class LocalizationService
|
||||
{
|
||||
if ($this->Po->getHeader(Translations::HEADER_PLURAL) !== null)
|
||||
{
|
||||
return $this->Po->getPluralForms()[0];
|
||||
return intval($this->Po->getPluralForms()[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user