@@ -16,7 +16,7 @@ |
||
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\Group\Domain\GroupRepository', |
| 19 | - function () use ($group){ |
|
| 19 | + function() use ($group){ |
|
| 20 | 20 | return $group; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -17,12 +17,12 @@ |
||
| 17 | 17 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 18 | 18 | |
| 19 | 19 | app()->bind('ProyectoTAU\TAU\Module\Administration\User\Domain\UserRepository', |
| 20 | - function () use ($user){ |
|
| 20 | + function() use ($user){ |
|
| 21 | 21 | return $user; |
| 22 | 22 | }); |
| 23 | 23 | |
| 24 | 24 | app()->bind('ProyectoTAU\TAU\Module\Administration\Group\Domain\GroupRepository', |
| 25 | - function () use ($group){ |
|
| 25 | + function() use ($group){ |
|
| 26 | 26 | return $group; |
| 27 | 27 | }); |
| 28 | 28 | |
@@ -17,12 +17,12 @@ |
||
| 17 | 17 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 18 | 18 | |
| 19 | 19 | app()->bind('ProyectoTAU\TAU\Module\Administration\Module\Domain\ModuleRepository', |
| 20 | - function () use ($module){ |
|
| 20 | + function() use ($module){ |
|
| 21 | 21 | return $module; |
| 22 | 22 | }); |
| 23 | 23 | |
| 24 | 24 | app()->bind('ProyectoTAU\TAU\Module\Administration\Role\Domain\RoleRepository', |
| 25 | - function () use ($role){ |
|
| 25 | + function() use ($role){ |
|
| 26 | 26 | return $role; |
| 27 | 27 | }); |
| 28 | 28 | |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | { |
| 13 | 13 | private $bus; |
| 14 | 14 | |
| 15 | - public function __construct(RoleRepository $role){ |
|
| 15 | + public function __construct(RoleRepository $role) { |
|
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\Role\Domain\RoleRepository', |
| 19 | - function () use ($role){ |
|
| 19 | + function() use ($role){ |
|
| 20 | 20 | return $role; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | { |
| 13 | 13 | private $bus; |
| 14 | 14 | |
| 15 | - public function __construct(RoleRepository $role){ |
|
| 15 | + public function __construct(RoleRepository $role) { |
|
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\Role\Domain\RoleRepository', |
| 19 | - function () use ($role){ |
|
| 19 | + function() use ($role){ |
|
| 20 | 20 | return $role; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | { |
| 13 | 13 | private $bus; |
| 14 | 14 | |
| 15 | - public function __construct(RoleRepository $role){ |
|
| 15 | + public function __construct(RoleRepository $role) { |
|
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\Role\Domain\RoleRepository', |
| 19 | - function () use ($role){ |
|
| 19 | + function() use ($role){ |
|
| 20 | 20 | return $role; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | $this->handler = new GetModulesFromRoleCommandHandler($role); |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | - public function getModulesFromRole($roleId){ |
|
| 18 | + public function getModulesFromRole($roleId) { |
|
| 19 | 19 | $roleCommand = new GetModulesFromRoleCommand($roleId); |
| 20 | 20 | return $this->handler->handle($roleCommand); |
| 21 | 21 | } |
@@ -12,11 +12,11 @@ |
||
| 12 | 12 | { |
| 13 | 13 | private $bus; |
| 14 | 14 | |
| 15 | - public function __construct(RoleRepository $role){ |
|
| 15 | + public function __construct(RoleRepository $role) { |
|
| 16 | 16 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 17 | 17 | |
| 18 | 18 | app()->bind('ProyectoTAU\TAU\Module\Administration\Role\Domain\RoleRepository', |
| 19 | - function () use ($role){ |
|
| 19 | + function() use ($role){ |
|
| 20 | 20 | return $role; |
| 21 | 21 | }); |
| 22 | 22 | |
@@ -17,12 +17,12 @@ |
||
| 17 | 17 | $this->bus = app('Joselfonseca\LaravelTactician\CommandBusInterface'); |
| 18 | 18 | |
| 19 | 19 | app()->bind('ProyectoTAU\TAU\Module\Administration\Group\Domain\GroupRepository', |
| 20 | - function () use ($group){ |
|
| 20 | + function() use ($group){ |
|
| 21 | 21 | return $group; |
| 22 | 22 | }); |
| 23 | 23 | |
| 24 | 24 | app()->bind('ProyectoTAU\TAU\Module\Administration\Role\Domain\RoleRepository', |
| 25 | - function () use ($role){ |
|
| 25 | + function() use ($role){ |
|
| 26 | 26 | return $role; |
| 27 | 27 | }); |
| 28 | 28 | |