⬆️ Upgrade to latest PHP
This commit is contained in:
parent
5fd2fd103e
commit
6d807f59c0
2 changed files with 1664 additions and 1269 deletions
|
|
@ -31,7 +31,7 @@ class Trakt
|
|||
return Http::withHeaders(['trakt-api-version' => 2] + $headers)->baseUrl('https://api.trakt.tv');
|
||||
}
|
||||
|
||||
public function syncHistory(WatchData $data, OutputInterface $output = null): Response
|
||||
public function syncHistory(WatchData $data, ?OutputInterface $output = null): Response
|
||||
{
|
||||
$output?->writeln(sprintf('Submitting %s to trakt with headers %s', json_encode($data->structuredData), json_encode($this->headers)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue