mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
fix type hint
This commit is contained in:
parent
c6f723d20f
commit
bd43cdecd0
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ class Share extends AbstractShare {
|
||||||
if ($path !== "" && $path !== "/") {
|
if ($path !== "" && $path !== "/") {
|
||||||
$parent = dirname($path);
|
$parent = dirname($path);
|
||||||
$dir = $this->dir($parent);
|
$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;
|
return $info->getPath() === $path;
|
||||||
}));
|
}));
|
||||||
if ($file) {
|
if ($file) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue