Rename the PilotService to UserService

This commit is contained in:
Nabeel Shahzad
2017-12-12 14:48:03 -06:00
parent a5cf130176
commit 5b25a464ba
4 changed files with 15 additions and 24 deletions

View File

@@ -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;

View File

@@ -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