Skip to content

Commit

Permalink
fix: declare getFileInfo in Node interface
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <[email protected]>
  • Loading branch information
skjnldsv committed Aug 20, 2024
1 parent 12a71e6 commit 10259c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/public/Files/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,4 +266,13 @@ public function changeLock($targetType);
* @since 9.1.0
*/
public function unlock($type);

/**
* Returns the matching file info
*
* @return FileInfo
* @throws InvalidPathException
* @throws NotFoundException
*/
public function getFileInfo(bool $includeMountPoint = true);
}

0 comments on commit 10259c3

Please sign in to comment.