From bd43cdecd09ffe289fd2881761d4c72e60c95aeb Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 6 Feb 2019 17:53:32 +0100 Subject: [PATCH] fix type hint --- src/Wrapped/Share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wrapped/Share.php b/src/Wrapped/Share.php index 28475c4..2c6b293 100644 --- a/src/Wrapped/Share.php +++ b/src/Wrapped/Share.php @@ -158,7 +158,7 @@ public function stat($path) { if ($path !== "" && $path !== "/") { $parent = dirname($path); $dir = $this->dir($parent); - $file = array_values(array_filter($dir, function(IFileInfo $info) use ($path) { + $file = array_values(array_filter($dir, function(FileInfo $info) use ($path) { return $info->getPath() === $path; })); if ($file) {