Skip to content

ReservedObjectRector wrongly transforms return type hintings #1435

@Aerendir

Description

@Aerendir

The rector Rector\Php\Rector\Name\ReservedObjectRector wrongly transforms this code:

- function myFunction():object
+ function myFunction():BaseObject
{
    ...
}

Metadata

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