We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 535860a + 5e9fe60 commit 8e2b713Copy full SHA for 8e2b713
lib/internal/Magento/Framework/Filesystem/Io/Sftp.php
@@ -20,7 +20,7 @@ class Sftp extends AbstractIo
20
const SSH2_PORT = 22;
21
22
/**
23
- * @var \Net_SFTP $_connection
+ * @var \phpseclib\Net\SFTP $_connection
24
*/
25
protected $_connection = null;
26
@@ -184,7 +184,7 @@ public function read($filename, $destination = null)
184
185
public function write($filename, $source, $mode = null)
186
{
187
- $mode = is_readable($source) ? NET_SFTP_LOCAL_FILE : NET_SFTP_STRING;
+ $mode = is_readable($source) ? \phpseclib\Net\SFTP::SOURCE_LOCAL_FILE : \phpseclib\Net\SFTP::SOURCE_STRING;
188
return $this->_connection->put($filename, $source, $mode);
189
}
190
0 commit comments