Commit e71dcac1 authored by Connor Tumbleson's avatar Connor Tumbleson Committed by StyleCI Bot

Apply fixes from StyleCI

[ci skip] [skip ci]
parent 376def29
Pipeline #1410 skipped
......@@ -58,7 +58,7 @@ class Client extends XboxAPI
$url = sprintf(XboxConstants::$getPresenceUrl, $account->xuid);
$results[$account->seo] = $client->get($url, [
'headers' => ['X-AUTH' => env('XBOXAPI_KEY')]
'headers' => ['X-AUTH' => env('XBOXAPI_KEY')],
]);
}
......@@ -105,7 +105,7 @@ class Client extends XboxAPI
if ($response->getReasonPhrase() !== 'OK') {
continue;
}
$data = json_decode($response->getBody()->getContents(),true);
$data = json_decode($response->getBody()->getContents(), true);
if (isset($data['state']) && $data['state'] == 'Online') {
foreach ($data['devices'] as $device) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment