KEMBAR78
[TypeDeclaration] Skip with default value and assigned mixed on TypedPropertyFromAssignsRector by samsonasik · Pull Request #6514 · rectorphp/rector-src · GitHub
Skip to content

Conversation

@samsonasik
Copy link
Member

The following code should be skipped, as assign mixed can be anything:

final class SkipDefaultTypeMixed
{
    private $property = true;

    public function run($prop)
    {
        $this->property = $prop;
    }
}

@samsonasik
Copy link
Member Author

Fixed 🎉

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit eb3f32d into main Nov 26, 2024
36 checks passed
@samsonasik samsonasik deleted the skip-default-type-mixed branch November 26, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant