Skip to content

MixedTypeRector remove phpdoc with descriptions #8647

@vjik

Description

@vjik

Bug Report

Subject Details
Rector version v1.1.0

MixedTypeRector remove phpdoc annotations with useful descriptions.

Minimal PHP Code Causing Issue

/**
 * @param mixed $value Value for dump
 */
public function test(mixed $value): void
{
    var_dump($value);
}

After run rector:

public function test(mixed $value): void
{
    var_dump($value);
}

Expected Behaviour

Keep code as is.

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