Skip to content

Commit

Permalink
Merge pull request #70 from tm1000/bugfix/silence-deprecation-messages
Browse files Browse the repository at this point in the history
Fixes #68, silence dep messages
  • Loading branch information
Elendev authored Feb 21, 2023
2 parents c2163c3 + bac4ec7 commit 4ffb2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RepositoryProvider/AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ protected function getProgressCallback()
return;
}

$this->progress->setProgress(($uploadedBytes / $uploadTotal) * 100);
$this->progress->setProgress((int) (($uploadedBytes / $uploadTotal) * 100));
};
}
}

0 comments on commit 4ffb2a6

Please sign in to comment.