Skip to content

Commit

Permalink
refactor(filesize): fixing type
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Paiva authored and stavarengo committed May 1, 2020
1 parent 39a51a2 commit c851f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/FTPService.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function (string $file) {
* @param $realLocalPath
* @throws NonMatchingFileSize
*/
public function checkSize(bool $disableFileSizeCheck, $remoteFile, $realLocalPath): void
public function checkSize(bool $disableFileSizeCheck, string $remoteFile, string $realLocalPath): void
{
$sizeRemote = $this->ftp->size($remoteFile);
$sizeLocal = filesize($realLocalPath);
Expand Down

0 comments on commit c851f1a

Please sign in to comment.