@@ -68,8 +68,7 @@ |
||
| 68 | 68 | * @package Platine\Framework\Demo\Action\Permission |
| 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 |
@@ -68,8 +68,7 @@ |
||
| 68 | 68 | * @package Platine\Framework\Demo\Action\Permission |
| 69 | 69 | * @template T |
| 70 | 70 | */ |
| 71 | -class EditAction implements RequestHandlerInterface |
|
| 72 | -{ |
|
| 71 | +class EditAction implements RequestHandlerInterface { |
|
| 73 | 72 | |
| 74 | 73 | /** |
| 75 | 74 | * The logger instance |
@@ -59,8 +59,7 @@ |
||
| 59 | 59 | * @package Platine\Framework\Demo\Action\Permission |
| 60 | 60 | * @template T |
| 61 | 61 | */ |
| 62 | -class ListAction implements RequestHandlerInterface |
|
| 63 | -{ |
|
| 62 | +class ListAction implements RequestHandlerInterface { |
|
| 64 | 63 | /** |
| 65 | 64 | * The permission repository |
| 66 | 65 | * @var PermissionRepository |
@@ -63,8 +63,7 @@ discard block |
||
| 63 | 63 | * @package Platine\Framework\Demo\Action\Permission |
| 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 permissions #{items}', ['items' => $items]); |
| 180 | 178 | |
@@ -58,8 +58,7 @@ discard block |
||
| 58 | 58 | * @class PermissionValidator |
| 59 | 59 | * @package Platine\Framework\Demo\Form\Validator |
| 60 | 60 | */ |
| 61 | -class PermissionValidator extends AbstractValidator |
|
| 62 | -{ |
|
| 61 | +class PermissionValidator extends AbstractValidator { |
|
| 63 | 62 | |
| 64 | 63 | /** |
| 65 | 64 | * The parameter instance |
@@ -72,8 +71,7 @@ discard block |
||
| 72 | 71 | * @param PermissionParam $param |
| 73 | 72 | * @param Validator|null $validator |
| 74 | 73 | */ |
| 75 | - public function __construct(PermissionParam $param, ?Validator $validator = null) |
|
| 76 | - { |
|
| 74 | + public function __construct(PermissionParam $param, ?Validator $validator = null) { |
|
| 77 | 75 | parent::__construct($validator); |
| 78 | 76 | $this->param = $param; |
| 79 | 77 | } |
@@ -54,8 +54,7 @@ |
||
| 54 | 54 | * @class PermissionParam |
| 55 | 55 | * @package Platine\Framework\Demo\Form\Param |
| 56 | 56 | */ |
| 57 | -class PermissionParam extends BaseParam |
|
| 58 | -{ |
|
| 57 | +class PermissionParam extends BaseParam { |
|
| 59 | 58 | /** |
| 60 | 59 | * The code |
| 61 | 60 | * @var string |
@@ -58,8 +58,7 @@ |
||
| 58 | 58 | * @class PermissionServiceProvider |
| 59 | 59 | * @package Platine\Framework |
| 60 | 60 | */ |
| 61 | -class PermissionServiceProvider extends ServiceProvider |
|
| 62 | -{ |
|
| 61 | +class PermissionServiceProvider extends ServiceProvider { |
|
| 63 | 62 | |
| 64 | 63 | /** |
| 65 | 64 | * {@inheritdoc} |