@@ -63,8 +63,7 @@ discard block |
||
| 63 | 63 | * @package Platine\Framework\Demo\Action\User |
| 64 | 64 | * @template T |
| 65 | 65 | */ |
| 66 | -class BatchAction implements RequestHandlerInterface |
|
| 67 | -{ |
|
| 66 | +class BatchAction implements RequestHandlerInterface { |
|
| 68 | 67 | |
| 69 | 68 | /** |
| 70 | 69 | * Logger instance |
@@ -175,8 +174,7 @@ discard block |
||
| 175 | 174 | * Handle delete action |
| 176 | 175 | * @return mixed|void |
| 177 | 176 | */ |
| 178 | - protected function deleteHandle() |
|
| 179 | - { |
|
| 177 | + protected function deleteHandle() { |
|
| 180 | 178 | $items = $this->items; |
| 181 | 179 | $this->logger->info('Deleted of users #{items}', ['items' => $items]); |
| 182 | 180 | |
@@ -192,8 +190,7 @@ discard block |
||
| 192 | 190 | * Handle disable action |
| 193 | 191 | * @return mixed|void |
| 194 | 192 | */ |
| 195 | - protected function disableHandle() |
|
| 196 | - { |
|
| 193 | + protected function disableHandle() { |
|
| 197 | 194 | $items = $this->items; |
| 198 | 195 | $this->logger->info('Disable of users #{items}', ['items' => $items]); |
| 199 | 196 | |
@@ -209,8 +206,7 @@ discard block |
||
| 209 | 206 | * Handle enable action |
| 210 | 207 | * @return mixed|void |
| 211 | 208 | */ |
| 212 | - protected function enableHandle() |
|
| 213 | - { |
|
| 209 | + protected function enableHandle() { |
|
| 214 | 210 | $items = $this->items; |
| 215 | 211 | $this->logger->info('Enable of users #{items}', ['items' => $items]); |
| 216 | 212 | |
@@ -68,8 +68,7 @@ |
||
| 68 | 68 | * @package Platine\Framework\Demo\Action\Role |
| 69 | 69 | * @template T |
| 70 | 70 | */ |
| 71 | -class CreateAction implements RequestHandlerInterface |
|
| 72 | -{ |
|
| 71 | +class CreateAction implements RequestHandlerInterface { |
|
| 73 | 72 | |
| 74 | 73 | /** |
| 75 | 74 | * Logger instance |
@@ -59,8 +59,7 @@ |
||
| 59 | 59 | * @package Platine\Framework\Demo\Action\Role |
| 60 | 60 | * @template T |
| 61 | 61 | */ |
| 62 | -class ListAction implements RequestHandlerInterface |
|
| 63 | -{ |
|
| 62 | +class ListAction implements RequestHandlerInterface { |
|
| 64 | 63 | /** |
| 65 | 64 | * The role repository |
| 66 | 65 | * @var RoleRepository |
@@ -63,8 +63,7 @@ |
||
| 63 | 63 | * @package Platine\Framework\Demo\Action\Role |
| 64 | 64 | * @template T |
| 65 | 65 | */ |
| 66 | -class DetailAction implements RequestHandlerInterface |
|
| 67 | -{ |
|
| 66 | +class DetailAction implements RequestHandlerInterface { |
|
| 68 | 67 | |
| 69 | 68 | /** |
| 70 | 69 | * The logger instance |
@@ -63,8 +63,7 @@ discard block |
||
| 63 | 63 | * @package Platine\Framework\Demo\Action\Role |
| 64 | 64 | * @template T |
| 65 | 65 | */ |
| 66 | -class BatchAction implements RequestHandlerInterface |
|
| 67 | -{ |
|
| 66 | +class BatchAction implements RequestHandlerInterface { |
|
| 68 | 67 | |
| 69 | 68 | /** |
| 70 | 69 | * Logger instance |
@@ -173,8 +172,7 @@ discard block |
||
| 173 | 172 | * Handle delete action |
| 174 | 173 | * @return mixed|void |
| 175 | 174 | */ |
| 176 | - protected function deleteHandle() |
|
| 177 | - { |
|
| 175 | + protected function deleteHandle() { |
|
| 178 | 176 | $items = $this->items; |
| 179 | 177 | $this->logger->info('Deleted of roles #{items}', ['items' => $items]); |
| 180 | 178 | |
@@ -70,8 +70,7 @@ |
||
| 70 | 70 | * @package Platine\Framework\Demo\Action\Role |
| 71 | 71 | * @template T |
| 72 | 72 | */ |
| 73 | -class EditAction implements RequestHandlerInterface |
|
| 74 | -{ |
|
| 73 | +class EditAction implements RequestHandlerInterface { |
|
| 75 | 74 | |
| 76 | 75 | /** |
| 77 | 76 | * The logger instance |
@@ -54,8 +54,7 @@ |
||
| 54 | 54 | * @class RoleParam |
| 55 | 55 | * @package Platine\Framework\Demo\Form\Param |
| 56 | 56 | */ |
| 57 | -class RoleParam extends BaseParam |
|
| 58 | -{ |
|
| 57 | +class RoleParam extends BaseParam { |
|
| 59 | 58 | /** |
| 60 | 59 | * The name |
| 61 | 60 | * @var string |
@@ -57,8 +57,7 @@ discard block |
||
| 57 | 57 | * @class RoleValidator |
| 58 | 58 | * @package Platine\Framework\Demo\Form\Validator |
| 59 | 59 | */ |
| 60 | -class RoleValidator extends AbstractValidator |
|
| 61 | -{ |
|
| 60 | +class RoleValidator extends AbstractValidator { |
|
| 62 | 61 | |
| 63 | 62 | /** |
| 64 | 63 | * The parameter instance |
@@ -71,8 +70,7 @@ discard block |
||
| 71 | 70 | * @param RoleParam $param |
| 72 | 71 | * @param Validator|null $validator |
| 73 | 72 | */ |
| 74 | - public function __construct(RoleParam $param, ?Validator $validator = null) |
|
| 75 | - { |
|
| 73 | + public function __construct(RoleParam $param, ?Validator $validator = null) { |
|
| 76 | 74 | parent::__construct($validator); |
| 77 | 75 | $this->param = $param; |
| 78 | 76 | } |
@@ -60,8 +60,7 @@ discard block |
||
| 60 | 60 | * @class UserValidator |
| 61 | 61 | * @package Platine\Framework\Demo\Form\Validator |
| 62 | 62 | */ |
| 63 | -class UserValidator extends AbstractValidator |
|
| 64 | -{ |
|
| 63 | +class UserValidator extends AbstractValidator { |
|
| 65 | 64 | |
| 66 | 65 | /** |
| 67 | 66 | * The parameter instance |
@@ -74,8 +73,7 @@ discard block |
||
| 74 | 73 | * @param UserParam $param |
| 75 | 74 | * @param Validator|null $validator |
| 76 | 75 | */ |
| 77 | - public function __construct(UserParam $param, ?Validator $validator = null) |
|
| 78 | - { |
|
| 76 | + public function __construct(UserParam $param, ?Validator $validator = null) { |
|
| 79 | 77 | parent::__construct($validator); |
| 80 | 78 | $this->param = $param; |
| 81 | 79 | } |