Skip to content

Commit 5d7501d

Browse files
authored
feat: Check for instanceof INode instead of Node (#1595)
Signed-off-by: Carl Schwan <[email protected]>
1 parent 58be83a commit 5d7501d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/DAV/Tree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function getNodeForPath($path)
8484

8585
if ($node instanceof INodeByPath) {
8686
$targetNode = $node->getNodeForPath(implode('/', $parts));
87-
if ($targetNode instanceof Node) {
87+
if ($targetNode instanceof INode) {
8888
$node = $targetNode;
8989
break;
9090
}

0 commit comments

Comments
 (0)