mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
fix: psalm ci fix
Signed-off-by: yemkareems <yemkareems@gmail.com>
This commit is contained in:
parent
860fb314eb
commit
49cac414c0
1 changed files with 2 additions and 3 deletions
|
|
@ -97,10 +97,9 @@ class ListFiles extends Base {
|
|||
?int $maxSize = 0
|
||||
): void {
|
||||
try {
|
||||
/** @var Folder $userFolder **/
|
||||
$userFolder = $this->rootFolder->getUserFolder($user);
|
||||
/** @var Folder $pathList **/
|
||||
$pathList = $userFolder->get('/'.$path);
|
||||
$pathList = $userFolder->get('/' . $path);
|
||||
|
||||
$files = $pathList->getDirectoryListing();
|
||||
foreach ($files as $file) {
|
||||
|
|
@ -167,7 +166,7 @@ class ListFiles extends Base {
|
|||
$this->listFiles(
|
||||
$user,
|
||||
$output,
|
||||
$input->getOption("path"),
|
||||
(string) $input->getOption("path"),
|
||||
$input->getOption("type"),
|
||||
(int) $input->getOption("minSize"),
|
||||
(int) $input->getOption("maxSize")
|
||||
|
|
|
|||
Loading…
Reference in a new issue