diff --git a/src/RepositoryProvider/AbstractProvider.php b/src/RepositoryProvider/AbstractProvider.php index 6159a65..b8e8f2a 100644 --- a/src/RepositoryProvider/AbstractProvider.php +++ b/src/RepositoryProvider/AbstractProvider.php @@ -277,7 +277,7 @@ protected function getProgressCallback() return; } - $this->progress->setProgress(($uploadedBytes / $uploadTotal) * 100); + $this->progress->setProgress((int) (($uploadedBytes / $uploadTotal) * 100)); }; } }