mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 09:45:19 +02:00
refactor: add trailing-comma in method args and params
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@ class UploadHelper extends Assert {
|
||||
null,
|
||||
[],
|
||||
null,
|
||||
$isGivenStep
|
||||
$isGivenStep,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ class UploadHelper extends Assert {
|
||||
null,
|
||||
[],
|
||||
null,
|
||||
$isGivenStep
|
||||
$isGivenStep,
|
||||
);
|
||||
if ($result->getStatusCode() >= 400) {
|
||||
return $result;
|
||||
@@ -173,7 +173,7 @@ class UploadHelper extends Assert {
|
||||
return $size;
|
||||
default:
|
||||
throw new \InvalidArgumentException(
|
||||
"Invalid size unit '$sizeUnit' in '$sizeString'. Use GB, MB, KB or no unit for bytes."
|
||||
"Invalid size unit '$sizeUnit' in '$sizeString'. Use GB, MB, KB or no unit for bytes.",
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -199,11 +199,11 @@ class UploadHelper extends Assert {
|
||||
\fclose($file);
|
||||
self::assertEquals(
|
||||
1,
|
||||
\file_exists($name)
|
||||
\file_exists($name),
|
||||
);
|
||||
self::assertEquals(
|
||||
$size,
|
||||
\filesize($name)
|
||||
\filesize($name),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -221,7 +221,7 @@ class UploadHelper extends Assert {
|
||||
\fclose($file);
|
||||
self::assertEquals(
|
||||
1,
|
||||
\file_exists($name)
|
||||
\file_exists($name),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user