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:
Nabeel S
2022-03-14 11:45:18 -04:00
committed by GitHub
parent 00bf18c225
commit 12848091a2
340 changed files with 6130 additions and 4502 deletions

View File

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