@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * Generate a keypair |
71 | 71 | * |
72 | - * @param int $keyLenth |
|
72 | + * @param integer $keyLength |
|
73 | 73 | * @return array ['privatekey' => $privateKey, 'publickey' => $publicKey] |
74 | 74 | */ |
75 | 75 | public function createKey($keyLength) { |
@@ -79,6 +79,9 @@ discard block |
||
79 | 79 | } while (count($rows) > 0); |
80 | 80 | } |
81 | 81 | |
82 | + /** |
|
83 | + * @param string $path |
|
84 | + */ |
|
82 | 85 | private function getId($storage, $path) { |
83 | 86 | if (!$this->getIdQuery) { |
84 | 87 | $builder = $this->connection->getQueryBuilder(); |
@@ -95,6 +98,9 @@ discard block |
||
95 | 98 | return $this->getIdQuery->execute()->fetchColumn(); |
96 | 99 | } |
97 | 100 | |
101 | + /** |
|
102 | + * @param string $newPath |
|
103 | + */ |
|
98 | 104 | private function update($fileid, $newPath) { |
99 | 105 | if (!$this->updateQuery) { |
100 | 106 | $builder = $this->connection->getQueryBuilder(); |
@@ -176,7 +176,7 @@ |
||
176 | 176 | /** |
177 | 177 | * Create the circle share provider |
178 | 178 | * |
179 | - * @return FederatedShareProvider |
|
179 | + * @return null|\OCA\Circles\ShareByCircleProvider |
|
180 | 180 | * |
181 | 181 | * @suppress PhanUndeclaredClassMethod |
182 | 182 | */ |