@@ -181,9 +181,9 @@ |
||
| 181 | 181 | $this->logger->info('Deleted of users #{items}', ['items' => $items]); |
| 182 | 182 | |
| 183 | 183 | $this->userRepository->query() |
| 184 | - ->where('id') |
|
| 184 | + ->where('id') |
|
| 185 | 185 | ->in($items) |
| 186 | - ->delete(); |
|
| 186 | + ->delete(); |
|
| 187 | 187 | |
| 188 | 188 | $this->flash->setSuccess($this->lang->tr('The selected users are deleted successfully')); |
| 189 | 189 | } |
@@ -53,8 +53,7 @@ discard block |
||
| 53 | 53 | * @class Flash |
| 54 | 54 | * @package Platine\Framework\Helper |
| 55 | 55 | */ |
| 56 | -class Flash |
|
| 57 | -{ |
|
| 56 | +class Flash { |
|
| 58 | 57 | |
| 59 | 58 | /** |
| 60 | 59 | * The session instance |
@@ -66,8 +65,7 @@ discard block |
||
| 66 | 65 | * Create new instance |
| 67 | 66 | * @param Session $session |
| 68 | 67 | */ |
| 69 | - public function __construct(Session $session) |
|
| 70 | - { |
|
| 68 | + public function __construct(Session $session) { |
|
| 71 | 69 | $this->session = $session; |
| 72 | 70 | } |
| 73 | 71 | |