Browse Source

Fix issue in elasticaformatter

Jordi Boggiano 10 tháng trước cách đây
mục cha
commit
95092b0107
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/Monolog/Formatter/ElasticaFormatter.php

+ 1 - 0
src/Monolog/Formatter/ElasticaFormatter.php

@@ -77,6 +77,7 @@ class ElasticaFormatter extends NormalizerFormatter
     {
         $document = new Document();
         $document->setData($record);
+        /** @phpstan-ignore function.impossibleType */
         if (method_exists($document, 'setType')) {
             $document->setType($this->type);
         }