From 03eedeabd43acc5cf639b4cda7407e2ffb50489f Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Fri, 12 Mar 2021 22:00:36 -0500 Subject: [PATCH] Use identical comparison operator --- src/Curl/Curl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index d791ede..eea6ba7 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -382,7 +382,7 @@ class Curl for ($i = 1; $i <= $connections; $i++) { // If last chunk then no need to supply it. // Range starts with 0, so subtract 1. - $nextChunk = $i == $connections ? '' : $nextChunk - 1; + $nextChunk = $i === $connections ? '' : $nextChunk - 1; // Create part file. $fpath = "$filename.part$i";