Skip to content

Commit

Permalink
pthreads Threaded objects have array syntax support without ArrayAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps authored and ondrejmirtes committed Jan 28, 2020
1 parent 4f4f3d5 commit c079d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/ObjectType.php
Expand Up @@ -25,7 +25,7 @@ class ObjectType implements TypeWithClassName, SubtractableType
use TruthyBooleanTypeTrait;
use NonGenericTypeTrait;

private const EXTRA_OFFSET_CLASSES = ['SimpleXMLElement', 'DOMNodeList'];
private const EXTRA_OFFSET_CLASSES = ['SimpleXMLElement', 'DOMNodeList', 'Threaded'];

/** @var string */
private $className;
Expand Down

0 comments on commit c079d8e

Please sign in to comment.