Skip to content

Commit 4e2b687

Browse files
committed
fix return typ
1 parent d64bfe2 commit 4e2b687

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Database/Mirror.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,7 @@ protected function logError(string $action, \Throwable $err): void
11091109
*/
11101110
public function setDocumentType(string $collection, string $className): static
11111111
{
1112-
return $this->delegate(__FUNCTION__, \func_get_args());
1112+
$this->delegate(__FUNCTION__, \func_get_args());
1113+
return $this;
11131114
}
11141115
}

0 commit comments

Comments
 (0)