We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac6b48b + 93217b9 commit ebbc784Copy full SHA for ebbc784
src/Qiniu/Etag.php
@@ -38,7 +38,7 @@ public static function sum($filename)
38
39
$fstat = fstat($fhandler);
40
$fsize = $fstat['size'];
41
- if ($fsize == 0) {
+ if ((int) $fsize === 0) {
42
fclose($fhandler);
43
return array('Fto5o-5ea0sNMlW_75VgGJCv2AcJ', null);
44
}
0 commit comments