mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 06:06:40 +02:00
Docblock fixes
This commit is contained in:
@@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
namespace Monolog\Handler;
|
namespace Monolog\Handler;
|
||||||
|
|
||||||
|
use Monolog\Processor\ProcessorInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface to describe loggers that have processors
|
* Interface to describe loggers that have processors
|
||||||
*
|
*
|
||||||
|
@@ -34,7 +34,7 @@ class PsrHandler extends AbstractHandler implements FormattableHandlerInterface
|
|||||||
protected $logger;
|
protected $logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var FormatterInterface
|
* @var FormatterInterface|null
|
||||||
*/
|
*/
|
||||||
protected $formatter;
|
protected $formatter;
|
||||||
|
|
||||||
|
@@ -55,7 +55,7 @@ class RavenHandler extends AbstractProcessingHandler
|
|||||||
protected $ravenClient;
|
protected $ravenClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var LineFormatter The formatter to use for the logs generated via handleBatch()
|
* @var FormatterInterface The formatter to use for the logs generated via handleBatch()
|
||||||
*/
|
*/
|
||||||
protected $batchFormatter;
|
protected $batchFormatter;
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@ class RotatingFileHandler extends StreamHandler
|
|||||||
public function __construct(string $filename, int $maxFiles = 0, $level = Logger::DEBUG, bool $bubble = true, ?int $filePermission = null, bool $useLocking = false)
|
public function __construct(string $filename, int $maxFiles = 0, $level = Logger::DEBUG, bool $bubble = true, ?int $filePermission = null, bool $useLocking = false)
|
||||||
{
|
{
|
||||||
$this->filename = $filename;
|
$this->filename = $filename;
|
||||||
$this->maxFiles = (int) $maxFiles;
|
$this->maxFiles = $maxFiles;
|
||||||
$this->nextRotation = new \DateTimeImmutable('tomorrow');
|
$this->nextRotation = new \DateTimeImmutable('tomorrow');
|
||||||
$this->filenameFormat = '{filename}-{date}';
|
$this->filenameFormat = '{filename}-{date}';
|
||||||
$this->dateFormat = static::FILE_PER_DAY;
|
$this->dateFormat = static::FILE_PER_DAY;
|
||||||
|
Reference in New Issue
Block a user