Skip to content

Commit 24793ec

Browse files
committed
Fix php linting warnings
Signed-off-by: Louis Chemineau <[email protected]>
1 parent 4f5f28d commit 24793ec

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lib/Sabre/Album/PropFindPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function propFind(PropFind $propFind, INode $node): void {
8383
$propFind->handle(self::REALPATH_PROPERTYNAME, fn () => $node->getFileInfo()->getPath());
8484
$propFind->handle(self::FAVORITE_PROPERTYNAME, fn () => $node->isFavorite() ? 1 : 0);
8585

86-
$propFind->handle(FilesPlugin::HAS_PREVIEW_PROPERTYNAME, function() use ($node) {
86+
$propFind->handle(FilesPlugin::HAS_PREVIEW_PROPERTYNAME, function () use ($node) {
8787
return json_encode($this->previewManager->isAvailable($node->getFileInfo()));
8888
});
8989

lib/Sabre/RootCollection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
use OCA\Photos\Album\AlbumMapper;
2727
use OCP\Files\IRootFolder;
2828
use OCP\IUserSession;
29-
use Sabre\DAV\INode;
3029
use Sabre\DAVACL\AbstractPrincipalCollection;
3130
use Sabre\DAVACL\PrincipalBackend;
3231

0 commit comments

Comments
 (0)