Skip to content

Commit 4a7a3a3

Browse files
Fix typo
1 parent 9be9df3 commit 4a7a3a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Instantiator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ final class Instantiator
3939
* Bar::class => ['privateBarProperty' => $propertyValue],
4040
* ]);
4141
*
42-
* Instances of ArrayObject, ArrayIterator and SplObjectHash can be created
42+
* Instances of ArrayObject, ArrayIterator and SplObjectStorage can be created
4343
* by using the special "\0" property name to define their internal value:
4444
*
45-
* // creates an SplObjectHash where $info1 is attached to $obj1, etc.
45+
* // creates an SplObjectStorage where $info1 is attached to $obj1, etc.
4646
* Instantiator::instantiate(SplObjectStorage::class, ["\0" => [$obj1, $info1, $obj2, $info2...]]);
4747
*
4848
* // creates an ArrayObject populated with $inputArray

0 commit comments

Comments
 (0)