Skip to content

Commit c42d022

Browse files
authored
Update Ftp.php
1 parent 5559a51 commit c42d022

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Filesystem/Io

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Filesystem/Io/Ftp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public function chmod($filename, $mode)
313313
*/
314314
public function ls($grep = null)
315315
{
316-
$ls = @ftp_nlist($this->_conn, '.') ?? [];
316+
$ls = @ftp_nlist($this->_conn, '.') ?: [];
317317

318318
$list = [];
319319

0 commit comments

Comments
 (0)