diff --git a/src/Monolog/Handler/ElasticsearchHandler.php b/src/Monolog/Handler/ElasticsearchHandler.php index 89594cd8..74cc7b6e 100644 --- a/src/Monolog/Handler/ElasticsearchHandler.php +++ b/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