Skip to content

Commit b0aa764

Browse files
committed
Refactored FtpFilesystem
1 parent 92e6c25 commit b0aa764

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/FtpFilesystem.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@ class FtpFilesystem extends Filesystem
3434
* @var string
3535
*/
3636
public $password;
37-
/**
38-
* @var string
39-
*/
40-
public $root;
41-
/**
42-
* @var boolean
43-
*/
44-
public $passive;
4537
/**
4638
* @var boolean
4739
*/
@@ -50,6 +42,10 @@ class FtpFilesystem extends Filesystem
5042
* @var integer
5143
*/
5244
public $timeout;
45+
/**
46+
* @var string
47+
*/
48+
public $root;
5349
/**
5450
* @var integer
5551
*/
@@ -58,6 +54,10 @@ class FtpFilesystem extends Filesystem
5854
* @var integer
5955
*/
6056
public $permPublic;
57+
/**
58+
* @var boolean
59+
*/
60+
public $passive;
6161
/**
6262
* @var integer
6363
*/
@@ -91,12 +91,12 @@ protected function prepareAdapter()
9191
'port',
9292
'username',
9393
'password',
94-
'root',
95-
'passive',
9694
'ssl',
9795
'timeout',
96+
'root',
9897
'permPrivate',
9998
'permPublic',
99+
'passive',
100100
'transferMode',
101101
] as $name) {
102102
if ($this->$name !== null) {

0 commit comments

Comments
 (0)