mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Use identical comparison operator
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user