From 51232ef3f5b0e41daabed4a89e6f9c887143fe22 Mon Sep 17 00:00:00 2001 From: alxlaxv <35723598+alxlaxv@users.noreply.github.com> Date: Sat, 20 Oct 2018 00:13:16 +0200 Subject: [PATCH] Update Radarr.php --- app/SupportedApps/Radarr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/SupportedApps/Radarr.php b/app/SupportedApps/Radarr.php index f6a4ea57..2c85eaea 100644 --- a/app/SupportedApps/Radarr.php +++ b/app/SupportedApps/Radarr.php @@ -96,7 +96,7 @@ class Radarr implements Contracts\Applications, Contracts\Livestats { $api_url = $url.'/api/queue?apikey='.$config->apiKey.'&pageSize=1'; $client = new Client(['http_errors' => false, 'timeout' => 15, 'connect_timeout' => 15]); $res = $client->request('GET', $api_url); - $queue sizeof($res->getBody()); + $queue count($res->getBody()); return $queue; } }