Skip to content

Commit 103c335

Browse files
Fix typo for $parent_instance param in RecursiveDataStructureTraverser constructor (#422)
* Fix typo for `$parent_instance` param in `RecursiveDataStructureTraverser` constructor * Apply suggestion and reformat --------- Co-authored-by: Daniel Bachhuber <[email protected]>
1 parent be63876 commit 103c335

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/WP_CLI/Entity/RecursiveDataStructureTraverser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class RecursiveDataStructureTraverser {
2424
/**
2525
* RecursiveDataStructureTraverser constructor.
2626
*
27-
* @param mixed $data The data to read/manipulate by reference.
28-
* @param string|int $key The key/property the data belongs to.
29-
* @param static $parent
27+
* @param mixed $data The data to read/manipulate by reference.
28+
* @param string|int $key The key/property the data belongs to.
29+
* @param static|null $parent_instance The parent instance of the traverser.
3030
*/
3131
public function __construct( &$data, $key = null, $parent_instance = null ) {
3232
$this->data =& $data;

0 commit comments

Comments
 (0)