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" },