fix(setupcheck): Fix memory limit setup check

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2023-11-21 14:47:21 +01:00
parent 151ff38fc9
commit 4fe363f882
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

View file

@ -51,7 +51,7 @@ class PhpMemoryLimit implements ISetupCheck {
if ($this->memoryInfo->isMemoryLimitSufficient()) {
return SetupResult::success(Util::humanFileSize($this->memoryInfo->getMemoryLimit()));
} else {
return SetupResult::error($this->l10n->t('The PHP memory limit is below the recommended value of %s.'), Util::humanFileSize(MemoryInfo::RECOMMENDED_MEMORY_LIMIT));
return SetupResult::error($this->l10n->t('The PHP memory limit is below the recommended value of %s.', Util::humanFileSize(MemoryInfo::RECOMMENDED_MEMORY_LIMIT)));
}
}
}