Skip to content

Commit 59e1ec0

Browse files
committed
simplify docs
1 parent 483ca5a commit 59e1ec0

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/Exception/LockReleaseException.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
*
1010
* Take this exception very serious.
1111
*
12-
* This exception implies that the critical code was executed, i.e. side effects may have happened.
12+
* This exception implies that the synchronized code was executed, i.e. side effects may have happened.
1313
*
14-
* Failing to release a lock might have the potential to introduce deadlocks.
14+
* Failing to release a lock might also introduce deadlock.
1515
*/
1616
class LockReleaseException extends MutexException
1717
{
@@ -21,8 +21,6 @@ class LockReleaseException extends MutexException
2121
private ?\Throwable $codeException = null;
2222

2323
/**
24-
* The return value of the executed critical code.
25-
*
2624
* @return mixed
2725
*/
2826
public function getCodeResult()
@@ -42,9 +40,6 @@ public function setCodeResult($codeResult): self
4240
return $this;
4341
}
4442

45-
/**
46-
* The exception that has happened during the critical code execution.
47-
*/
4843
public function getCodeException(): ?\Throwable
4944
{
5045
return $this->codeException;

0 commit comments

Comments
 (0)