File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,19 @@ class ObjectType implements TypeWithClassName, SubtractableType
6161 use UndecidedComparisonTypeTrait;
6262 use NonGeneralizableTypeTrait;
6363
64- private const EXTRA_OFFSET_CLASSES = ['SimpleXMLElement ' , 'DOMNodeList ' , 'Threaded ' ];
64+ private const EXTRA_OFFSET_CLASSES = [
65+ 'DOMNamedNodeMap ' , // Only read and existence
66+ 'Dom\NamedNodeMap ' , // Only read and existence
67+ 'DOMNodeList ' , // Only read and existence
68+ 'Dom\NodeList ' , // Only read and existence
69+ 'Dom\HTMLCollection ' , // Only read and existence
70+ 'Dom\DtdNamedNodeMap ' , // Only read and existence
71+ 'PDORow ' , // Only read and existence
72+ 'ResourceBundle ' , // Only read
73+ 'FFI\CData ' , // Very funky and weird
74+ 'SimpleXMLElement ' ,
75+ 'Threaded ' ,
76+ ];
6577
6678 private ?Type $ subtractedType ;
6779
You can’t perform that action at this time.
0 commit comments