Skip to content

Commit 99f5683

Browse files
committed
mirror set types also to current instance
1 parent 4e2b687 commit 99f5683

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Database/Mirror.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,8 @@ protected function logError(string $action, \Throwable $err): void
11101110
public function setDocumentType(string $collection, string $className): static
11111111
{
11121112
$this->delegate(__FUNCTION__, \func_get_args());
1113+
$this->documentTypes[$collection] = $className;
11131114
return $this;
11141115
}
1116+
11151117
}

0 commit comments

Comments
 (0)