diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index cd3c625..b92acc5 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -143,7 +143,7 @@ class Controller extends BaseController ]) ->withOptions([ 'curl' => [ - CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4, + \CURLOPT_IPRESOLVE => \CURL_IPRESOLVE_V4, ] ]) ->post('http://185.231.112.101/api/createsms', [ diff --git a/app/Http/Controllers/Site/ReportController.php b/app/Http/Controllers/Site/ReportController.php index 0f467e9..45e473e 100644 --- a/app/Http/Controllers/Site/ReportController.php +++ b/app/Http/Controllers/Site/ReportController.php @@ -363,8 +363,8 @@ class ReportController extends Controller try { $taban_gohar = Http::withOptions([ 'curl' => [ - CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4, - CURLOPT_TCP_FASTOPEN => 1, + \CURLOPT_IPRESOLVE => \CURL_IPRESOLVE_V4, + \CURLOPT_TCP_FASTOPEN => 1, ], ]) ->withoutVerifying() diff --git a/app/Services/MontzarService.php b/app/Services/MontzarService.php index 8cdb8ec..fe68a11 100644 --- a/app/Services/MontzarService.php +++ b/app/Services/MontzarService.php @@ -71,8 +71,8 @@ class MontzarService ->acceptJson() ->withOptions([ 'curl' => [ - CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4, - CURLOPT_TCP_FASTOPEN => 1, + \CURLOPT_IPRESOLVE => \CURL_IPRESOLVE_V4, + \CURLOPT_TCP_FASTOPEN => 1, ], ]) ->withToken($token)