Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
30 | 2 | public function __construct(\phpseclib\Net\SFTP $sftp, array $fileInfo, string $remotePath) |
|
31 | { |
||
32 | 2 | $this->sftp = $sftp; |
|
33 | 2 | $this->filename = $fileInfo['filename']; |
|
34 | 2 | $this->pathname = $remotePath . '/' . $fileInfo['filename']; |
|
35 | 2 | $this->size = $fileInfo['size']; |
|
36 | 2 | $this->lastModified = $fileInfo['mtime']; |
|
37 | 2 | } |
|
38 | |||
47 |