-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
This change in phpstan-doctrine doesn't seem great:
- if (!(new ObjectType(QueryBuilder::class))->isSuperTypeOf($scope->getType($queryBuilderNode))->yes()) {
+ if (!!(new ObjectType(QueryBuilder::class))->isSuperTypeOf($scope->getType($queryBuilderNode))->no()) {
No human would write it like that 😊
Should be instead:
+ if ((new ObjectType(QueryBuilder::class))->isSuperTypeOf($scope->getType($queryBuilderNode))->no()) {
//cc @staabm
Metadata
Metadata
Assignees
Labels
No labels