From ad87a5bcee7a322793a23dd034584dd2e833ccb5 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 21 Dec 2023 17:18:59 +0200 Subject: [PATCH] cs --- application/Espo/Core/Utils/Resource/FileReader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Espo/Core/Utils/Resource/FileReader.php b/application/Espo/Core/Utils/Resource/FileReader.php index 8d756ff4c1..09ab12d5b8 100644 --- a/application/Espo/Core/Utils/Resource/FileReader.php +++ b/application/Espo/Core/Utils/Resource/FileReader.php @@ -46,7 +46,7 @@ class FileReader ) {} /** - * Read a resource file. Returns NULL if the file does not exists. + * Read a resource file. Returns NULL if the file does not exist. * * @throws RuntimeException If the resource does not exist. */ @@ -55,7 +55,7 @@ class FileReader $exactPath = $this->findExactPath($path, $params); if (!$exactPath) { - throw new RuntimeException("Resource file '{$path}' does not exist."); + throw new RuntimeException("Resource file '$path' does not exist."); } return $this->fileManager->getContents($exactPath);