We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace DoeSangue\Http\Controllers\API\V1; |
4 | 4 | |
5 | -use Illuminate\Http\Request; |
|
6 | 5 | use DoeSangue\Http\Controllers\Controller; |
7 | 6 | use DoeSangue\Models\BloodType; |
8 | 7 |
@@ -48,7 +48,7 @@ |
||
48 | 48 | * Register a new User |
49 | 49 | * |
50 | 50 | * @param RegisterUserRequest $request |
51 | - * @return void |
|
51 | + * @return \Illuminate\Http\JsonResponse |
|
52 | 52 | */ |
53 | 53 | public function register(RegisterUserRequest $request) |
54 | 54 | { |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use DoeSangue\Mail\UserCreated; |
11 | 11 | use Illuminate\Support\Facades\Mail; |
12 | 12 | use DoeSangue\Models\User; |
13 | -use DoeSangue\Models\Donor; |
|
14 | 13 | |
15 | 14 | class AuthenticateController extends Controller |
16 | 15 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | 'active', |
32 | 32 | 'password', |
33 | 33 | 'blood_type_id', |
34 | - ]; |
|
34 | + ]; |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * The attributes that should be hidden for arrays. |
@@ -17,7 +17,7 @@ |
||
17 | 17 | return [ |
18 | 18 | 'first_name' => $this->first_name, |
19 | 19 | 'last_name' => $this->last_name, |
20 | - // 'email' => $this->email, |
|
20 | + // 'email' => $this->email, |
|
21 | 21 | 'username' => $this->username, |
22 | 22 | 'blood_type' => $this->bloodType->code, |
23 | 23 | 'avatar' => '',//$this->avatar, |
@@ -20,7 +20,7 @@ |
||
20 | 20 | // 'email' => $this->email, |
21 | 21 | 'username' => $this->username, |
22 | 22 | 'blood_type' => $this->bloodType->code, |
23 | - 'avatar' => '',//$this->avatar, |
|
23 | + 'avatar' => '', //$this->avatar, |
|
24 | 24 | // 'birthdate' => $this->birthdate, |
25 | 25 | // 'phone' => $this->phone, |
26 | 26 | 'bio' => $this->bio |