@@ -36,7 +36,7 @@ |
||
| 36 | 36 | */ |
| 37 | 37 | public function apply($model, PrettusRepositoryInterface $repository) |
| 38 | 38 | { |
| 39 | - if(!$this->userId){ |
|
| 39 | + if (!$this->userId) { |
|
| 40 | 40 | $this->userId = Auth::user()->id; |
| 41 | 41 | } |
| 42 | 42 | |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | use App\Containers\Application\Models\Application; |
| 5 | 5 | use App\Containers\User\Models\User; |
| 6 | 6 | |
| 7 | -$factory->define(Application::class, function (Faker\Generator $faker) { |
|
| 7 | +$factory->define(Application::class, function(Faker\Generator $faker) { |
|
| 8 | 8 | |
| 9 | 9 | return [ |
| 10 | 10 | 'name' => $faker->name, |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | * @param \App\Containers\Authentication\UI\WEB\Requests\LoginRequest $request |
| 30 | 30 | * @param \App\Containers\Authentication\Actions\WebAdminLoginAction $action |
| 31 | 31 | * |
| 32 | - * @return $this|\Illuminate\Contracts\View\Factory|\Illuminate\View\View |
|
| 32 | + * @return \Illuminate\Http\RedirectResponse |
|
| 33 | 33 | */ |
| 34 | 34 | public function loginAdmin(LoginRequest $request, WebAdminLoginAction $action) |
| 35 | 35 | { |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use App\Containers\Authorization\Tasks\AttachRoleTask; |
| 8 | 8 | use App\Containers\User\Actions\CreateUserAction; |
| 9 | 9 | use Dingo\Api\Http\Response as DingoAPIResponse; |
| 10 | - |
|
| 11 | 10 | use Illuminate\Http\Response; |
| 12 | 11 | use Illuminate\Http\UploadedFile; |
| 13 | 12 | use Illuminate\Support\Arr as LaravelArr; |