Skip to content

executeStatement returning int|string in phpdoc but it can return only int #5318

Closed as not planned
@jacekkarczmarczyk

Description

Bug Report

Q A
Version 3.3.3

Summary

Connection::exectureStatement (https://github.com/doctrine/dbal/blob/3.3.x/src/Connection.php#L1128) declares that it can return int|string but 2 return statements (https://github.com/doctrine/dbal/blob/3.3.x/src/Connection.php#L1128 and https://github.com/doctrine/dbal/blob/3.3.x/src/Connection.php#L1160) return only int.

How to reproduce

n/a

Expected behaviour

It should return only int

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions