mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-13 08:56:30 +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
|
||||
// permissions didn't allow reading
|
||||
if (empty($entries)) {
|
||||
$entries = array();
|
||||
$entries = [];
|
||||
}
|
||||
|
||||
unset($entries['.'], $entries['..']);
|
||||
|
Loading…
Reference in New Issue
Block a user