1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Merge branch 'master' into feature/elasticsearch

This commit is contained in:
Avtandil Kikabidze
2018-09-12 18:08:44 +04:00
78 changed files with 268 additions and 349 deletions

View File

@@ -30,13 +30,13 @@ class PDOHandler extends AbstractProcessingHandler
private $pdo;
private $statement;
public function __construct(PDO $pdo, $level = Logger::DEBUG, $bubble = true)
public function __construct(PDO $pdo, $level = Logger::DEBUG, bool $bubble = true)
{
$this->pdo = $pdo;
parent::__construct($level, $bubble);
}
protected function write(array $record)
protected function write(array $record): void
{
if (!$this->initialized) {
$this->initialize();