From 25267b2486cce0fe9925565e02e003daae1511bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 16 Mar 2023 16:40:01 +0000 Subject: [PATCH] Remove a TODO --- src/EnvatoApi.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/EnvatoApi.php b/src/EnvatoApi.php index 0e087b9..e838bc2 100644 --- a/src/EnvatoApi.php +++ b/src/EnvatoApi.php @@ -110,7 +110,6 @@ public function getDownloadUrl($itemIdOrApiUrl): ?string // TODO HTTP 429 response. Included in this response is a HTTP header Retry-After if ($response->getStatusCode() === 200) { $urlData = \json_decode($response->getBody() ?? '', true); - // TODO Check JSON if (\is_array($urlData)) { if (\array_key_exists('wordpress_theme', $urlData)) { return $urlData['wordpress_theme'];