-
-
Notifications
You must be signed in to change notification settings - Fork 742
Closed
rectorphp/rector-src
#3422Labels
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | last dev-main |
| Installed as | composer dependency |
Minimal PHP Code Causing Issue
See https://getrector.com/demo/73c31adc-d79d-4f13-addc-56997d5b749a
<?php
final class DemoFile
{
/**
* @var bool
*
* @ORM\Column(name="requires_signup", type="boolean")
* @Groups("agenda:export")
*/
private $requiresSignup = false;
}Responsible rules
TypedPropertyFromAssignsRector
Expected Behavior
I believe Rector should rather set type to bool following the @var (and ORM) definition. Instead it sets it to false type.
Reactions are currently unavailable