Skip to content

Commit af083ef

Browse files
abnegateclaude
andcommitted
docs(relationships): mark restore() internal
It is public only so createDocument() can give a retried attempt back the documents the failed attempt changed; it is not consumer API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 94ec1c4 commit af083ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/Database/Hook/Relationships.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,8 @@ private function copy(Document $document, array &$copies): void
658658
/**
659659
* Give each copied document back the attributes it was copied with.
660660
*
661+
* @internal
662+
*
661663
* @param array<int, array{Document, array<string, mixed>}> $copies
662664
*/
663665
public function restore(array $copies): void

0 commit comments

Comments
 (0)