1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 00:56:08 +02:00

Tweak const visibility, refs #1228

This commit is contained in:
Jordi Boggiano
2018-11-29 20:05:19 +01:00
parent a7984a640f
commit bb99e4c699
16 changed files with 48 additions and 55 deletions

View File

@@ -50,7 +50,7 @@ class RotatingFileHandler extends StreamHandler
$this->maxFiles = (int) $maxFiles;
$this->nextRotation = new \DateTimeImmutable('tomorrow');
$this->filenameFormat = '{filename}-{date}';
$this->dateFormat = self::FILE_PER_DAY;
$this->dateFormat = static::FILE_PER_DAY;
parent::__construct($this->getTimedFilename(), $level, $bubble, $filePermission, $useLocking);
}