Skip to content

Commit

Permalink
fix: psalm ci fix
Browse files Browse the repository at this point in the history
Signed-off-by: yemkareems <yemkareems@gmail.com>
  • Loading branch information
yemkareems committed Jul 30, 2024
1 parent 0caad52 commit 860fb31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/files/lib/Command/ListFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ protected function listFiles(
try {
/** @var Folder $userFolder **/
$userFolder = $this->rootFolder->getUserFolder($user);
/** @var Folder $pathList **/
$pathList = $userFolder->get('/'.$path);

$files = $pathList->getDirectoryListing();
Expand Down Expand Up @@ -155,7 +156,6 @@ protected function execute(
): int {
$user = $input->getArgument("user");
$user = ltrim($user, "user=");
$path = $input->getOption("path");

$this->initTools($output);

Expand All @@ -167,7 +167,7 @@ protected function execute(
$this->listFiles(
$user,
$output,
$path,
$input->getOption("path"),
$input->getOption("type"),
(int) $input->getOption("minSize"),
(int) $input->getOption("maxSize")
Expand Down

0 comments on commit 860fb31

Please sign in to comment.