diff --git a/freebox/api/v3/models/Storage/DiskPartition.php b/freebox/api/v3/models/Storage/DiskPartition.php index 6011e9d..13e42b0 100644 --- a/freebox/api/v3/models/Storage/DiskPartition.php +++ b/freebox/api/v3/models/Storage/DiskPartition.php @@ -43,9 +43,9 @@ class DiskPartition extends Model { /** @var int (Read-only) : partition free space (in bytes) */ protected $free_bytes; - /** - * @var string (Read-only) : fsck result - * @see symbols\Storage\DiskPartition\FsckResult + /** + * @var string (Read-only) : fsck result + * @see symbols\Storage\DiskPartition\FsckResult */ protected $fsck_result; diff --git a/freebox/api/v3/models/VPN/Client/IpInfo.php b/freebox/api/v3/models/VPN/Client/IpInfo.php index 4be90d2..48375f4 100644 --- a/freebox/api/v3/models/VPN/Client/IpInfo.php +++ b/freebox/api/v3/models/VPN/Client/IpInfo.php @@ -7,7 +7,7 @@ use alphayax\freebox\utils\Model; * @package alphayax\freebox\api\v3\models\VPN\Client */ class IpInfo extends Model { - + /** @var bool (Read-only) : is the configuration valid */ protected $config_valid; diff --git a/freebox/api/v3/services/FileSystem/FileSystemOperation.php b/freebox/api/v3/services/FileSystem/FileSystemOperation.php index d5a989c..764c0d5 100644 --- a/freebox/api/v3/services/FileSystem/FileSystemOperation.php +++ b/freebox/api/v3/services/FileSystem/FileSystemOperation.php @@ -30,7 +30,7 @@ class FileSystemOperation extends ServiceAuth { * @param string $conflictMode * @return models\FileSystem\FsTask */ - public function move( array $sourceFiles = [], $destination, $conflictMode = 'recent'){ + public function move( array $sourceFiles, $destination, $conflictMode = 'recent'){ /// Convert all paths in base64 $destination_b64 = base64_encode( $destination); $source_b64 = []; @@ -55,7 +55,7 @@ class FileSystemOperation extends ServiceAuth { * @param string $conflictMode * @return models\FileSystem\FsTask */ - public function copy( array $sourceFiles = [], $destination, $conflictMode = 'recent'){ + public function copy( array $sourceFiles, $destination, $conflictMode = 'recent'){ /// Convert all paths in base64 $destination_b64 = base64_encode( $destination); $source_b64 = []; @@ -103,11 +103,11 @@ class FileSystemOperation extends ServiceAuth { * @param bool $isToAppend : Append to the destination * @return models\FileSystem\FsTask */ - public function cat( array $fileParts = [], $destination, $isMultiVolumes = false, $isToDelete = false, $isToOverwrite = false, $isToAppend = false){ + public function cat( array $fileParts, $destination, $isMultiVolumes = false, $isToDelete = false, $isToOverwrite = false, $isToAppend = false){ /// Convert all paths in base64 $destination_b64 = base64_encode( $destination); $fileParts_b64 = []; - foreach($fileParts as $FilePart){ + foreach( $fileParts as $FilePart){ $fileParts_b64[] = base64_encode( $FilePart); } @@ -130,11 +130,11 @@ class FileSystemOperation extends ServiceAuth { * @param string $destination : The destination file * @return models\FileSystem\FsTask */ - public function archive( array $fileParts = [], $destination){ + public function archive( array $fileParts, $destination){ /// Convert all paths in base64 $destination_b64 = base64_encode( $destination); $fileParts_b64 = []; - foreach($fileParts as $FilePart){ + foreach( $fileParts as $FilePart){ $fileParts_b64[] = base64_encode( $FilePart); }