Skip to content

Commit

Permalink
Update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
alphayax committed Jun 25, 2016
1 parent 538647b commit 6483686
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions freebox/api/v3/models/Storage/DiskPartition.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion freebox/api/v3/models/VPN/Client/IpInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @package alphayax\freebox\api\v3\models\VPN\Client
*/
class IpInfo extends Model {

/** @var bool (Read-only) : is the configuration valid */
protected $config_valid;

Expand Down
12 changes: 6 additions & 6 deletions freebox/api/v3/services/FileSystem/FileSystemOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand All @@ -55,7 +55,7 @@ public function move( array $sourceFiles = [], $destination, $conflictMode = 're
* @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 = [];
Expand Down Expand Up @@ -103,11 +103,11 @@ public function remove( array $RemoveFiles = []){
* @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);
}

Expand All @@ -130,11 +130,11 @@ public function cat( array $fileParts = [], $destination, $isMultiVolumes = fals
* @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);
}

Expand Down

0 comments on commit 6483686

Please sign in to comment.