@@ -410,7 +410,7 @@ discard block |
||
| 410 | 410 | */ |
| 411 | 411 | public function update(AccountRequest $accountRequest) |
| 412 | 412 | { |
| 413 | - $this->transactionAware(function () use ($accountRequest) { |
|
| 413 | + $this->transactionAware(function() use ($accountRequest) { |
|
| 414 | 414 | $accountRequest->changePermissions = AccountAclService::getShowPermission( |
| 415 | 415 | $this->context->getUserData(), |
| 416 | 416 | $this->context->getUserProfile()); |
@@ -510,7 +510,7 @@ discard block |
||
| 510 | 510 | */ |
| 511 | 511 | public function editPassword(AccountRequest $accountRequest) |
| 512 | 512 | { |
| 513 | - $this->transactionAware(function () use ($accountRequest) { |
|
| 513 | + $this->transactionAware(function() use ($accountRequest) { |
|
| 514 | 514 | $this->addHistory($accountRequest->id); |
| 515 | 515 | |
| 516 | 516 | $pass = $this->getPasswordEncrypted($accountRequest->pass); |
@@ -544,7 +544,7 @@ discard block |
||
| 544 | 544 | */ |
| 545 | 545 | public function editRestore($historyId, $accountId) |
| 546 | 546 | { |
| 547 | - $this->transactionAware(function () use ($historyId, $accountId) { |
|
| 547 | + $this->transactionAware(function() use ($historyId, $accountId) { |
|
| 548 | 548 | $this->addHistory($accountId); |
| 549 | 549 | |
| 550 | 550 | if (!$this->accountRepository->editRestore($historyId, $this->context->getUserData()->getId())) { |
@@ -561,7 +561,7 @@ discard block |
||
| 561 | 561 | */ |
| 562 | 562 | public function delete($id) |
| 563 | 563 | { |
| 564 | - $this->transactionAware(function () use ($id) { |
|
| 564 | + $this->transactionAware(function() use ($id) { |
|
| 565 | 565 | $this->addHistory($id, 1); |
| 566 | 566 | |
| 567 | 567 | if ($this->accountRepository->delete($id) === 0) { |