Code standards.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-06-05 09:43:50 +00:00
parent 9d0d188d01
commit 79dfcd6495
2 changed files with 8 additions and 5 deletions

View File

@ -71,6 +71,8 @@ class Rclone
/**
* Calculate the size of a mount/path
*
* @param string $path mount/path.
*
* @return int Size in bytes
*/
function getSize(string $path): int
@ -82,10 +84,11 @@ class Rclone
/**
* Copy from src to dest
*
* @param $src Source mount and path
* @param $dest Destination mount and path
* @param $bandwidth Bandwidth limit provided as string
* @return string Stdout from command
* @param $src Source mount and path
* @param $dest Destination mount and path
* @param $bandwidth Bandwidth limit provided as string
*
* @return string Stdout from command
*/
function copy(string $src, string $dest, string $bandwidth = null): string
{