Skip to content

Commit 4492d45

Browse files
HP-1751 changed HasLock::lock() to public
1 parent 74446cd commit 4492d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/product/trait/HasLock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ trait HasLock
88
{
99
private bool $locked = false;
1010

11-
protected function lock(): void
11+
public function lock(): void
1212
{
1313
// Lock the state to prevent further modifications
1414
$this->locked = true;

0 commit comments

Comments
 (0)