From 0cc6125f8795f577aa9e01535c1a58545e290866 Mon Sep 17 00:00:00 2001 From: andrey012 Date: Sat, 2 May 2015 14:28:19 +0300 Subject: [PATCH] documentation fix --- phpseclib/Net/SFTP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index 167f9828..5a2168ba 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -1765,7 +1765,7 @@ class Net_SFTP extends Net_SSH2 * If $data is a resource then it'll be used as a resource instead. * * - * Setting $mode to self::SOURCE_CALLBACK will use $data as callback function, which gets only one parameter -- number + * Setting $mode to NET_SFTP_CALLBACK will use $data as callback function, which gets only one parameter -- number * of bytes to return, and returns a string if there is some data or null if there is no more data * * Currently, only binary mode is supported. As such, if the line endings need to be adjusted, you will need to take