Skip to content

Support integer keys in query parameters #1123

@Tigrov

Description

@Tigrov

According to interface method description, there are no integer keys:

@param array $params The list of query parameter values indexed by parameter placeholders.
     * For example, `[':name' => 'Dan', ':age' => 31]`.

If it's true, we should throw exception on int keys.
If it's false, we should update interface phpdoc.

Would it be a mixed array with both int and string keys?

Originally posted by @vjik in #1116 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions