[CodeQuality] Resolve type on Collection<string, ClassName> docblock to correct target type when has indexBy #423
Annotations
3 errors and 1 warning
Run composer phpstan:
src/TypeAnalyzer/CollectionTypeFactory.php#L18
Property Rector\Doctrine\TypeAnalyzer\CollectionTypeFactory::$astResolver is never read, only written.
|
Run composer phpstan:
src/TypeAnalyzer/CollectionTypeFactory.php#L35
Method Rector\Doctrine\TypeAnalyzer\CollectionTypeFactory::resolveKeyType() never returns PHPStan\Type\StringType so it can be removed from the return type.
|
Run composer phpstan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading