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
more precise php-doc - in this case positive-int - is lost while transformation
positive-int
See https://getrector.com/demo/a37c4a63-360f-4d0a-b1f0-42eb2885841a
<?php namespace Fare\ArticleExport\Viewmodel; /** * @immutable */ final class PreisStufeVM { /** @var positive-int */ public int $mengeab; public float $price; public function __construct(int $mengeab, float $price) { $this->mengeab = $mengeab; $this->price = $price; } }
ClassPropertyAssignToConstructorPromotionRector
The text was updated successfully, but these errors were encountered:
Updated Rector to commit df8d2b78edd46542e6426fec606c3ea98d712532
7f9bb2a
rectorphp/rector-src@df8d2b7 Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438) (#5603)
69e22c5
1d69b60
12e1b38
Successfully merging a pull request may close this issue.
Bug Report
more precise php-doc - in this case
positive-int
- is lost while transformationMinimal PHP Code Causing Issue
See https://getrector.com/demo/a37c4a63-360f-4d0a-b1f0-42eb2885841a
Responsible rules
ClassPropertyAssignToConstructorPromotionRector
Expected Behavior
The text was updated successfully, but these errors were encountered: