type fixes
This commit is contained in:
@@ -83,6 +83,7 @@ class EspoRotatingFileHandler extends EspoFileHandler
|
||||
|
||||
$filePattern = $this->getFilePattern();
|
||||
$dirPath = $this->fileManager->getDirName($this->filename);
|
||||
/** @var string[] */
|
||||
$logFiles = $this->fileManager->getFileList($dirPath, false, $filePattern, true);
|
||||
|
||||
if (!empty($logFiles) && count($logFiles) > $this->maxFiles) {
|
||||
|
||||
Reference in New Issue
Block a user