From df9a678d2bdf856943210bae920ef213f35f9793 Mon Sep 17 00:00:00 2001 From: virhi Date: Mon, 16 Mar 2020 09:12:55 +0100 Subject: [PATCH] Support monolog 2.0 --- Profiler/Handler/CollectionHandler.php | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Profiler/Handler/CollectionHandler.php b/Profiler/Handler/CollectionHandler.php index 65636ad0..9606bd9e 100644 --- a/Profiler/Handler/CollectionHandler.php +++ b/Profiler/Handler/CollectionHandler.php @@ -26,7 +26,7 @@ class CollectionHandler extends AbstractProcessingHandler /** * {@inheritdoc} */ - protected function write(array $record) + protected function write(array $record) :void { $this->records[] = $record; } diff --git a/composer.json b/composer.json index 12c90413..dcac2729 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "doctrine/cache": "^1.7", "doctrine/inflector": "^1.3", "doctrine/collections": "^1.5", - "monolog/monolog": "^1.24", + "monolog/monolog": "^1.24|^2.0", "elasticsearch/elasticsearch": "^7.0", "ongr/elasticsearch-dsl": "^7.0" },