From 5ef73d3c08b9044deb765350d77fd83567008e86 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 17 Nov 2020 11:49:20 +0200 Subject: [PATCH] fix typo --- application/Espo/Core/Utils/File/Manager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/Espo/Core/Utils/File/Manager.php b/application/Espo/Core/Utils/File/Manager.php index 97fe83f9c8..1d4da53e5e 100644 --- a/application/Espo/Core/Utils/File/Manager.php +++ b/application/Espo/Core/Utils/File/Manager.php @@ -132,13 +132,13 @@ class Manager } if ($isReturnSingleArray) { - return $this->getSingeFileList($result, $onlyFileType, $path); + return $this->getSingleFileList($result, $onlyFileType, $path); } return $result; } - protected function getSingeFileList(array $fileList, $onlyFileType = null, $basePath = null, $parentDirName = '') + protected function getSingleFileList(array $fileList, $onlyFileType = null, $basePath = null, $parentDirName = '') { $singleFileList = []; @@ -151,7 +151,7 @@ class Manager } $singleFileList = array_merge( - $singleFileList, $this->getSingeFileList($fileName, $onlyFileType, $basePath, $currentDir) + $singleFileList, $this->getSingleFileList($fileName, $onlyFileType, $basePath, $currentDir) ); } else { $currentFileName = Util::concatPath($parentDirName, $fileName);