@@ -174,7 +174,7 @@ |
||
| 174 | 174 | throw new OptimisticLockFailedException(); |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | - $this->updateversion++; |
|
| 177 | + $this->updateversion ++; |
|
| 178 | 178 | } |
| 179 | 179 | } |
| 180 | 180 | |
@@ -221,7 +221,7 @@ |
||
| 221 | 221 | throw new OptimisticLockFailedException(); |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | - $this->updateversion++; |
|
| 224 | + $this->updateversion ++; |
|
| 225 | 225 | } |
| 226 | 226 | } |
| 227 | 227 | |
@@ -503,7 +503,7 @@ |
||
| 503 | 503 | throw new OptimisticLockFailedException(); |
| 504 | 504 | } |
| 505 | 505 | |
| 506 | - $this->updateversion++; |
|
| 506 | + $this->updateversion ++; |
|
| 507 | 507 | } |
| 508 | 508 | } |
| 509 | 509 | |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | throw new OptimisticLockFailedException(); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - $this->updateversion++; |
|
| 92 | + $this->updateversion ++; |
|
| 93 | 93 | } |
| 94 | 94 | } |
| 95 | 95 | |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | public function getId() |
| 20 | 20 | { |
| 21 | - return -1; |
|
| 21 | + return - 1; |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | public function save() |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | throw new OptimisticLockFailedException(); |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | - $this->updateversion++; |
|
| 91 | + $this->updateversion ++; |
|
| 92 | 92 | } |
| 93 | 93 | } |
| 94 | 94 | |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | throw new OptimisticLockFailedException(); |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - $this->updateversion++; |
|
| 97 | + $this->updateversion ++; |
|
| 98 | 98 | } |
| 99 | 99 | } |
| 100 | 100 | |