From 0a49b7702bc577da7c846eddd3d80602efe0a450 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 24 Apr 2024 12:40:11 -0700 Subject: [PATCH] lint: fix php Signed-off-by: Varun Patil --- lib/Service/Index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Service/Index.php b/lib/Service/Index.php index a4e423225..d3a0d80ab 100644 --- a/lib/Service/Index.php +++ b/lib/Service/Index.php @@ -131,8 +131,9 @@ public function indexFolder(Folder $folder): void $this->log("Indexing folder {$path}", true); // Check if path is blacklisted - if (!$this->isPathAllowed($path . '/')) { + if (!$this->isPathAllowed($path.'/')) { $this->log("Skipping folder {$path} (path excluded)".PHP_EOL, true); + return; }