@@ -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) { |
@@ -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 | */ |
@@ -83,6 +83,9 @@ |
||
| 83 | 83 | } while (count($rows) > 0); |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | + /** |
|
| 87 | + * @param string $path |
|
| 88 | + */ |
|
| 86 | 89 | private function getId($storage, $path) { |
| 87 | 90 | if (!$this->getIdQuery) { |
| 88 | 91 | $builder = $this->connection->getQueryBuilder(); |