Jordi Boggiano 2 лет назад
Родитель
Сommit
b40d426849
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      src/Monolog/Handler/ElasticsearchHandler.php

+ 4 - 2
src/Monolog/Handler/ElasticsearchHandler.php

@@ -47,12 +47,14 @@ use Elastic\Elasticsearch\Client as Client8;
  * @phpstan-type Options array{
  *     index: string,
  *     type: string,
- *     ignore_error: bool
+ *     ignore_error: bool,
+ *     op_type: 'index'|'create'
  * }
  * @phpstan-type InputOptions array{
  *     index?: string,
  *     type?: string,
- *     ignore_error?: bool
+ *     ignore_error?: bool,
+ *     op_type?: 'index'|'create'
  * }
  */
 class ElasticsearchHandler extends AbstractProcessingHandler