Skip to content

Commit d4ff508

Browse files
Ignore error
1 parent 3076c9e commit d4ff508

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Type/Traits/ConstantScalarTypeTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function acceptsWithReason(Type $type, bool $strictTypes): AcceptsResult
3434
}
3535

3636
if (get_parent_class($this) !== false) {
37+
// @phpstan-ignore class.noParent
3738
return parent::acceptsWithReason($type, $strictTypes)->and(AcceptsResult::createMaybe());
3839
}
3940

0 commit comments

Comments
 (0)