]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #14462 from owncloud/add-some-php-docs
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 25 Feb 2015 10:53:22 +0000 (02:53 -0800)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 25 Feb 2015 10:53:22 +0000 (02:53 -0800)
Add some PHPDocs

1  2 
apps/files_external/lib/sftp.php

index edf3924477367a5d82e9633b3a59682a545897be,c37663c4f869feae91b6a93337039bc374d3f915..b75092ef4e7d047410299687453556e33e0dea8e
@@@ -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;
        }