Unverified Commit fdd02f0d authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #24 from viralsolani/analysis-z3PWJY

Apply fixes from StyleCI
parents 0c68d600 0a0aec7d
<?php
use App\Exceptions\GeneralException;
use App\Helpers\uuid;
use App\Http\Utilities\SendEmail;
use App\Models\Notification\Notification;
use App\Models\Settings\Setting;
use Carbon\Carbon as Carbon;
use App\Helpers\uuid;
/**
* Henerate UUID
* Henerate UUID.
*
* @return uuid
*/
......
......@@ -21,6 +21,7 @@ class AuthController extends APIController
* Authenticate User.
*
* @param Request $request
*
* @return \Illuminate\Http\JsonResponse
*/
public function authenticate(Request $request)
......@@ -81,9 +82,10 @@ class AuthController extends APIController
}
/**
* Register User
* Register User.
*
* @param Request $request
*
* @return \Illuminate\Http\JsonResponse
*/
public function register(Request $request)
......@@ -120,7 +122,7 @@ class AuthController extends APIController
$user->notify(new Activation($user));
return $this->respondCreated([
'You have registered successfully. Please check your email for activation!'
'You have registered successfully. Please check your email for activation!',
]);
}
......
......@@ -49,7 +49,7 @@ class User extends Authenticatable
'status',
'confirmation_code',
'confirmed',
'created_by'
'created_by',
];
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment