Update code style

This commit is contained in:
alphayax 2016-06-25 14:39:11 +02:00
parent 538647b210
commit 64836862cc
3 changed files with 10 additions and 10 deletions

View File

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

View File

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

View File

@ -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);
}