| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 2 | public function __construct(\phpseclib\Net\SFTP $sftp, array $fileInfo, string $remotePath) |
|
| 24 | { |
||
| 25 | 2 | $this->sftp = $sftp; |
|
| 26 | 2 | $this->filename = $fileInfo['filename']; |
|
| 27 | 2 | $this->pathname = $remotePath . '/' . $fileInfo['filename']; |
|
| 28 | 2 | $this->size = $fileInfo['size']; |
|
| 29 | 2 | $this->lastModified = $fileInfo['mtime']; |
|
| 30 | 2 | } |
|
| 31 | |||
| 39 | } |