@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Returns the Reply-To address of this message |
| 111 | 111 | * |
| 112 | - * @return array |
|
| 112 | + * @return string |
|
| 113 | 113 | */ |
| 114 | 114 | public function getReplyTo() { |
| 115 | 115 | return $this->swiftMessage->getReplyTo(); |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | /** |
| 163 | 163 | * Set the BCC recipients of this message. |
| 164 | 164 | * |
| 165 | - * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
| 165 | + * @param string[] $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
| 166 | 166 | * @return $this |
| 167 | 167 | */ |
| 168 | 168 | public function setBcc(array $recipients) { |
@@ -566,7 +566,7 @@ |
||
| 566 | 566 | /** |
| 567 | 567 | * update permissions in database |
| 568 | 568 | * |
| 569 | - * @param IShare $share |
|
| 569 | + * @param Share\IShare $share |
|
| 570 | 570 | * @param int $permissions |
| 571 | 571 | */ |
| 572 | 572 | protected function updatePermissionsInDatabase(IShare $share, $permissions) { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * @param array $entry |
| 73 | - * @return array |
|
| 73 | + * @return string |
|
| 74 | 74 | */ |
| 75 | 75 | protected function formatCacheEntry($entry) { |
| 76 | 76 | if (isset($entry['path'])) { |
@@ -189,6 +189,9 @@ discard block |
||
| 189 | 189 | return $this->cache->getStatus($this->getSourcePath($file)); |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | + /** |
|
| 193 | + * @param \OCP\Files\Cache\ICacheEntry[] $results |
|
| 194 | + */ |
|
| 192 | 195 | private function formatSearchResults($results) { |
| 193 | 196 | $results = array_filter($results, array($this, 'filterCacheEntry')); |
| 194 | 197 | $results = array_values($results); |
@@ -150,7 +150,6 @@ |
||
| 150 | 150 | /** |
| 151 | 151 | * saves database schema to xml file |
| 152 | 152 | * @param string $file name of file |
| 153 | - * @param int $mode |
|
| 154 | 153 | * @return bool |
| 155 | 154 | * |
| 156 | 155 | * TODO: write more documentation |
@@ -412,6 +412,10 @@ |
||
| 412 | 412 | return $url; |
| 413 | 413 | } |
| 414 | 414 | |
| 415 | + /** |
|
| 416 | + * @param string $feature |
|
| 417 | + * @param string $value |
|
| 418 | + */ |
|
| 415 | 419 | public function triggerChange($feature, $value = null) { |
| 416 | 420 | if ($this->emitter) { |
| 417 | 421 | $this->emitter->emit('\OC\User', 'changeUser', array($this, $feature, $value)); |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | * @param RequestInterface $request |
| 123 | 123 | * @param ResponseInterface $response |
| 124 | 124 | * |
| 125 | - * @return null|bool |
|
| 125 | + * @return null|false |
|
| 126 | 126 | */ |
| 127 | 127 | public function httpPost(RequestInterface $request, ResponseInterface $response) |
| 128 | 128 | { |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | namespace OCA\DAV\Tests\Unit\Sabre\Connector; |
| 23 | 23 | |
| 24 | 24 | use OCA\DAV\Connector\Sabre\FilesReportPlugin as FilesReportPluginImplementation; |
| 25 | -use Sabre\DAV\Exception\NotFound; |
|
| 26 | 25 | use OCP\SystemTag\ISystemTagObjectMapper; |
| 27 | 26 | use OC\Files\View; |
| 28 | 27 | use OCP\Files\Folder; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use OCP\IUser; |
| 28 | 28 | use OCP\ILogger; |
| 29 | 29 | use OCP\Files\Folder; |
| 30 | - |
|
| 31 | 30 | use OC\Share20\Exception\ShareNotFound; |
| 32 | 31 | |
| 33 | 32 | /** |
@@ -21,10 +21,7 @@ |
||
| 21 | 21 | |
| 22 | 22 | namespace OC\Files\Config; |
| 23 | 23 | |
| 24 | -use OC\Files\Filesystem; |
|
| 25 | -use OCP\Files\Config\ICachedMountInfo; |
|
| 26 | 24 | use OCP\Files\Mount\IMountPoint; |
| 27 | -use OCP\Files\Node; |
|
| 28 | 25 | use OCP\IUser; |
| 29 | 26 | |
| 30 | 27 | class LazyStorageMountInfo extends CachedMountInfo { |