mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-03 11:47:38 +02:00
Add new option to type defs
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user