Laravel 9 Update (#1413)
Update to Laravel 9 and PHP 8+ Co-authored-by: B.Fatih KOZ <fatih.koz@gmail.com>
This commit is contained in:
@@ -15,8 +15,11 @@ use Illuminate\Support\Facades\Log;
|
||||
|
||||
class SimBriefService extends Service
|
||||
{
|
||||
private $httpClient;
|
||||
private GuzzleClient $httpClient;
|
||||
|
||||
/**
|
||||
* @param GuzzleClient $httpClient
|
||||
*/
|
||||
public function __construct(GuzzleClient $httpClient)
|
||||
{
|
||||
$this->httpClient = $httpClient;
|
||||
@@ -26,13 +29,13 @@ class SimBriefService extends Service
|
||||
* Check to see if the OFP exists server-side. If it does, download it and
|
||||
* cache it immediately
|
||||
*
|
||||
* @param string $user_id User who generated this
|
||||
* @param string $ofp_id The SimBrief OFP ID
|
||||
* @param string $flight_id The flight ID
|
||||
* @param string $ac_id The aircraft ID
|
||||
* @param array $fares Full list of fares for the flight
|
||||
* @param string $sb_userid User's Simbrief ID (Used for Update)
|
||||
* @param string $sb_static_id Static ID for the generated OFP (Used for Update)
|
||||
* @param string $user_id User who generated this
|
||||
* @param string $ofp_id The SimBrief OFP ID
|
||||
* @param string $flight_id The flight ID
|
||||
* @param string $ac_id The aircraft ID
|
||||
* @param array $fares Full list of fares for the flight
|
||||
* @param string|null $sb_user_id
|
||||
* @param string|null $sb_static_id Static ID for the generated OFP (Used for Update)
|
||||
*
|
||||
* @return SimBrief|null
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user