php: fix lint

This commit is contained in:
Aleksandr Fedorov
2023-06-01 16:21:36 +03:00
parent 12bcc0009b
commit c8d44199c2
3 changed files with 9 additions and 4 deletions

View File

@ -36,7 +36,9 @@ final class ConfigManager
private function getConfigurationFromatsJson(): bool|string
{
return file_exists("./assets/document-formats/onlyoffice-docs-formats.json") ? file_get_contents("./assets/document-formats/onlyoffice-docs-formats.json") : false;
return file_exists("./assets/document-formats/onlyoffice-docs-formats.json")
? file_get_contents("./assets/document-formats/onlyoffice-docs-formats.json")
: false;
}
/**