From 97b18e9ece290cd9da0052ecd91970631c3660d9 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 24 May 2023 23:10:57 -0700 Subject: [PATCH] lint: fix php Signed-off-by: Varun Patil --- lib/Controller/PublicController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/PublicController.php b/lib/Controller/PublicController.php index 65da2719..36e9dae8 100644 --- a/lib/Controller/PublicController.php +++ b/lib/Controller/PublicController.php @@ -119,7 +119,7 @@ class PublicController extends AuthPublicShareController $node = $share->getNode(); if ($node instanceof \OCP\Files\File) { $this->initialState->provideInitialState('single_item', $this->getSingleItemInitialState($node)); - } else if ($node instanceof \OCP\Files\Folder) { + } elseif ($node instanceof \OCP\Files\Folder) { $this->initialState->provideInitialState('share_title', $node->getName()); } else { throw new NotFoundException();