mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-31 21:21:55 +00:00
SFTP: CS adjustment
This commit is contained in:
parent
571e16af38
commit
715bb9ff97
@ -2516,7 +2516,7 @@ class SFTP extends SSH2
|
|||||||
// normally $entries would have at least . and .. but it might not if the directories
|
// normally $entries would have at least . and .. but it might not if the directories
|
||||||
// permissions didn't allow reading
|
// permissions didn't allow reading
|
||||||
if (empty($entries)) {
|
if (empty($entries)) {
|
||||||
$entries = array();
|
$entries = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
unset($entries['.'], $entries['..']);
|
unset($entries['.'], $entries['..']);
|
||||||
|
Loading…
Reference in New Issue
Block a user