From: Thomas Müller Date: Wed, 25 Feb 2015 10:53:22 +0000 (-0800) Subject: Merge pull request #14462 from owncloud/add-some-php-docs X-Git-Tag: v8.1.0alpha1~413 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5b62267325415b307cf2d47b69d11d4337536e4;p=nextcloud-server.git Merge pull request #14462 from owncloud/add-some-php-docs Add some PHPDocs --- f5b62267325415b307cf2d47b69d11d4337536e4 diff --cc apps/files_external/lib/sftp.php index edf39244773,c37663c4f86..b75092ef4e7 --- a/apps/files_external/lib/sftp.php +++ b/apps/files_external/lib/sftp.php @@@ -123,10 -115,16 +127,16 @@@ class SFTP extends \OC\Files\Storage\Co return $this->getConnection()->nlist() !== false; } + /** + * {@inheritdoc} + */ public function getId(){ - return 'sftp::' . $this->user . '@' . $this->host . '/' . $this->root; + return 'sftp::' . $this->user . '@' . $this->host . ':' . $this->port . '/' . $this->root; } + /** + * @return string + */ public function getHost() { return $this->host; }