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

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

@ -15,7 +15,7 @@ use Psr\Log\NullLogger;
*
* @author Jens True <jens.chr.true@gmail.com>
* @license https://opensource.org/licenses/gpl-license.php GNU Public License
* @link https://jcktrue.dk
* @link https://jcktrue.dks
*/
class App
{

@ -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
{