lint: fix php

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/672/head
Varun Patil 2023-05-24 23:10:57 -07:00
parent 15411a9db9
commit 97b18e9ece
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class PublicController extends AuthPublicShareController
$node = $share->getNode(); $node = $share->getNode();
if ($node instanceof \OCP\Files\File) { if ($node instanceof \OCP\Files\File) {
$this->initialState->provideInitialState('single_item', $this->getSingleItemInitialState($node)); $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()); $this->initialState->provideInitialState('share_title', $node->getName());
} else { } else {
throw new NotFoundException(); throw new NotFoundException();