Skip to content

Commit

Permalink
fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Feb 6, 2019
1 parent c6f723d commit bd43cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wrapped/Share.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bd43cde

Please sign in to comment.