Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit 3a9e2e1

Browse files
committed
Fix +1 on version field on updating contact
1 parent 6e0befe commit 3a9e2e1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/LexofficeClient.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ public function createContact(Contact $contact): Contact
107107

108108
public function updateContact(Contact $contact): Contact
109109
{
110-
$contact->setVersion($contact->getVersion() + 1);
111-
112110
$errors = $this->validator->validate($contact);
113111

114112
if (\count($errors) > 0) {

0 commit comments

Comments
 (0)