Rename the PilotService to UserService
This commit is contained in:
@@ -19,11 +19,11 @@ class PIREPService extends BaseService
|
||||
|
||||
/**
|
||||
* PIREPService constructor.
|
||||
* @param PilotService $pilotSvc
|
||||
* @param UserService $pilotSvc
|
||||
* @param PirepRepository $pirepRepo
|
||||
*/
|
||||
public function __construct(
|
||||
PilotService $pilotSvc,
|
||||
UserService $pilotSvc,
|
||||
PirepRepository $pirepRepo
|
||||
) {
|
||||
$this->pilotSvc = $pilotSvc;
|
||||
|
||||
@@ -12,7 +12,7 @@ use App\Events\UserStateChanged;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
|
||||
class PilotService extends BaseService
|
||||
class UserService extends BaseService
|
||||
{
|
||||
|
||||
public function adjustFlightCount(User &$pilot, int $count): User
|
||||
Reference in New Issue
Block a user