1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-03 03:37:34 +02:00

Add new option to type defs

This commit is contained in:
Jordi Boggiano
2023-02-04 21:45:58 +01:00
parent 11fbf915c7
commit b40d426849

View File

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