We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abaa3ef + 48ca337 commit 9d45845Copy full SHA for 9d45845
lib/private/Files/Node/Node.php
@@ -99,10 +99,10 @@ protected function createNonExistingNode($path) {
99
* @throws NotFoundException
100
*/
101
public function getFileInfo() {
102
- if (!Filesystem::isValidPath($this->path)) {
103
- throw new InvalidPathException();
104
- }
105
if (!$this->fileInfo) {
+ if (!Filesystem::isValidPath($this->path)) {
+ throw new InvalidPathException();
+ }
106
$fileInfo = $this->view->getFileInfo($this->path);
107
if ($fileInfo instanceof FileInfo) {
108
$this->fileInfo = $fileInfo;
0 commit comments