We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have a look at the following
#[PHPAttribute(PHPAttribute::TARGET_PROPERTY)] final class Attribute { public function __construct( protected ?string $name = null, protected ?string $getter = null, protected ?string $setter = null, /** * @var list<string> - */ - protected array $groups = [], + */ protected array $groups = [], ) {} }
Somehow it only happens when the docblock for the promoted property is defined as an array/list, I have plenty of other examples without any problem
public function __construct( /** * @var class-string<object> $class */ protected string $class, protected string $name, ) {}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Have a look at the following
Somehow it only happens when the docblock for the promoted property is defined as an array/list, I have plenty of other examples without any problem
The text was updated successfully, but these errors were encountered: