Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5c29d51

Browse filesBrowse files
Fix typo
1 parent 297c3d7 commit 5c29d51
Copy full SHA for 5c29d51

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/VarExporter/Instantiator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/VarExporter/Instantiator.php
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.