1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-01 19:00:20 +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{
* 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