Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions lib/private/Files/Node/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,12 @@
// FIXME: this class really should be abstract (+1)
class Node implements INode {
/**
* @var View $view
*/
protected $view;

protected IRootFolder $root;

/**
* @param View $view
* @param \OCP\Files\IRootFolder $root
* @param string $path
* @param FileInfo $fileInfo
*/
public function __construct(
IRootFolder $root,
$view,
protected IRootFolder $root,
protected View $view,
protected $path,
Comment thread
cristianscheid marked this conversation as resolved.
protected ?FileInfo $fileInfo = null,
protected ?INode $parent = null,
Expand All @@ -52,8 +43,6 @@ public function __construct(
if (Filesystem::normalizePath($view->getRoot()) !== '/') {
throw new PreConditionNotMetException('The view passed to the node should not have any fake root set');
}
$this->view = $view;
$this->root = $root;
}

/**
Expand Down
Loading