Skip to content

Commit 08fcaa4

Browse files
committed
Add missing docblock
1 parent 678fa1c commit 08fcaa4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/guides/src/Renderer/DocumentListIterator.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,15 @@ public function __construct(
6161
}
6262
}
6363

64-
public static function create(DocumentEntryNode $getRootDocumentEntry, array $documentArray): self
64+
/** @param DocumentNode[] $documents */
65+
public static function create(DocumentEntryNode $getRootDocumentEntry, array $documents): self
6566
{
6667
return new self(
6768
new DocumentTreeIterator(
6869
[$getRootDocumentEntry],
69-
$documentArray,
70+
$documents,
7071
),
71-
$documentArray,
72+
$documents,
7273
);
7374
}
7475

0 commit comments

Comments
 (0)