Skip to content

Commit 5c29d51

Browse files
Fix typo
1 parent 297c3d7 commit 5c29d51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/VarExporter/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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy