We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90388b3 commit f267219Copy full SHA for f267219
src/Monolog/Formatter/ElasticaFormatter.php
@@ -77,9 +77,6 @@ protected function getDocument(array $record): Document
77
{
78
$document = new Document();
79
$document->setData($record);
80
- if (method_exists($document, 'setType')) {
81
- $document->setType($this->type);
82
- }
83
$document->setIndex($this->index);
84
85
return $document;
0 commit comments