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
0caad523c5
commit
860fb314eb
1 changed files with 2 additions and 2 deletions
|
|
@ -99,6 +99,7 @@ class ListFiles extends Base {
|
|||
try {
|
||||
/** @var Folder $userFolder **/
|
||||
$userFolder = $this->rootFolder->getUserFolder($user);
|
||||
/** @var Folder $pathList **/
|
||||
$pathList = $userFolder->get('/'.$path);
|
||||
|
||||
$files = $pathList->getDirectoryListing();
|
||||
|
|
@ -155,7 +156,6 @@ class ListFiles extends Base {
|
|||
): int {
|
||||
$user = $input->getArgument("user");
|
||||
$user = ltrim($user, "user=");
|
||||
$path = $input->getOption("path");
|
||||
|
||||
$this->initTools($output);
|
||||
|
||||
|
|
@ -167,7 +167,7 @@ class ListFiles extends Base {
|
|||
$this->listFiles(
|
||||
$user,
|
||||
$output,
|
||||
$path,
|
||||
$input->getOption("path"),
|
||||
$input->getOption("type"),
|
||||
(int) $input->getOption("minSize"),
|
||||
(int) $input->getOption("maxSize")
|
||||
|
|
|
|||
Loading…
Reference in a new issue