We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3076c9e commit d4ff508Copy full SHA for d4ff508
src/Type/Traits/ConstantScalarTypeTrait.php
@@ -34,6 +34,7 @@ public function acceptsWithReason(Type $type, bool $strictTypes): AcceptsResult
34
}
35
36
if (get_parent_class($this) !== false) {
37
+ // @phpstan-ignore class.noParent
38
return parent::acceptsWithReason($type, $strictTypes)->and(AcceptsResult::createMaybe());
39
40
0 commit comments