From 507e68a15363d3ad704acc92a994446b81fce35e Mon Sep 17 00:00:00 2001 From: Eduardo Bacarin Date: Fri, 4 Jul 2025 11:45:50 -0300 Subject: [PATCH] Rework to be compatible with PHP 7.* --- src/helpers.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/helpers.php b/src/helpers.php index 517c0d2..fb783cb 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -2,11 +2,11 @@ if (!function_exists('curlRequest')) { function curlRequest( - string $url, - string $method = 'GET', - array $queryParams = [], - array $headers = [], - array|string|null $body = null + $url, + $method = 'GET', + $queryParams = [], + $headers = [], + $body = null ): array { $curl = curl_init();