Updates based on latest phpstan run

This commit is contained in:
Clemens Schwaighofer
2022-09-02 17:00:22 +09:00
parent 1a6c65df0e
commit 4b3fbaa309
5 changed files with 18 additions and 43 deletions

View File

@@ -173,7 +173,7 @@ class Logging
// can be overridden with basicSetLogFileId later
if (!empty($this->options['file_id'])) {
$this->setLogId($this->options['file_id'] ?? '');
$this->setLogId($this->options['file_id']);
} elseif (!empty($GLOBALS['LOG_FILE_ID'])) {
// legacy flow, should be removed and only set via options
$this->setLogId($GLOBALS['LOG_FILE_ID']);