File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class FtpDownload extends FtpTransfer {
1818 * @param peer.ftp.FtpFile $remote
1919 * @param io.streams.OutputStream|io.Channel $target
2020 */
21- public function __construct (FtpFile $ remote= null , $ target ) {
21+ public function __construct (FtpFile $ remote , $ target ) {
2222 $ this ->remote = $ remote ;
2323 if ($ target instanceof OutputStream) {
2424 $ this ->out = $ target ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class FtpUpload extends FtpTransfer {
1919 * @param io.streams.InputStream|io.Channel $source
2020 * @throws lang.IllegalArgumentException
2121 */
22- public function __construct (FtpFile $ remote= null , $ source ) {
22+ public function __construct (FtpFile $ remote , $ source ) {
2323 $ this ->remote = $ remote ;
2424 if ($ source instanceof InputStream) {
2525 $ this ->in = $ source ;
You can’t perform that action at this time.
0 commit comments