Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Invalid type given as required for multiple methods #1425

Closed
@AJenbo

Description

@AJenbo

* refresh: enum, // If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.

enum is not a valid PHP type, the correct type for a generic enum is \UnitEnum, you probably just want string.

number is not a valid type, the correct one is numeric if you want int|float|numeric-string.

list is used for comma-separated lists, this should be string, but comment might be misleading as it appears it might accept both, in which case string|list would be better.

long is not a valid type, use int

time is not a valid type, use \DateTime, int or string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions