Completed
Push — master ( 0de15a...be9b68 )
by Jan-Christoph
09:52
created
apps/federation/lib/syncfederationaddressbooks.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,10 +3,6 @@
 block discarded – undo
3 3
 namespace OCA\Federation;
4 4
 
5 5
 use OCA\DAV\CardDAV\SyncService;
6
-use Symfony\Component\Console\Command\Command;
7
-use Symfony\Component\Console\Helper\ProgressBar;
8
-use Symfony\Component\Console\Input\InputInterface;
9
-use Symfony\Component\Console\Output\OutputInterface;
10 6
 
11 7
 class SyncFederationAddressBooks {
12 8
 
Please login to merge, or discard this patch.
lib/private/files/cache/wrapper/cachejail.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
 	/**
69 69
 	 * @param array $entry
70
-	 * @return array
70
+	 * @return string
71 71
 	 */
72 72
 	protected function formatCacheEntry($entry) {
73 73
 		if (isset($entry['path'])) {
@@ -185,6 +185,9 @@  discard block
 block discarded – undo
185 185
 		return $this->cache->getStatus($this->getSourcePath($file));
186 186
 	}
187 187
 
188
+	/**
189
+	 * @param \OCP\Files\Cache\ICacheEntry[] $results
190
+	 */
188 191
 	private function formatSearchResults($results) {
189 192
 		$results = array_filter($results, array($this, 'filterCacheEntry'));
190 193
 		$results = array_values($results);
@@ -263,7 +266,7 @@  discard block
 block discarded – undo
263 266
 	 * use the one with the highest id gives the best result with the background scanner, since that is most
264 267
 	 * likely the folder where we stopped scanning previously
265 268
 	 *
266
-	 * @return string|bool the path of the folder or false when no folder matched
269
+	 * @return boolean the path of the folder or false when no folder matched
267 270
 	 */
268 271
 	public function getIncomplete() {
269 272
 		// not supported
Please login to merge, or discard this patch.
lib/private/files/config/usermountcache.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
 	}
207 207
 
208 208
 	/**
209
-	 * @param $fileId
209
+	 * @param integer $fileId
210 210
 	 * @return array
211 211
 	 * @throws \OCP\Files\NotFoundException
212 212
 	 */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -21,14 +21,11 @@
 block discarded – undo
21 21
 
22 22
 namespace OC\Files\Config;
23 23
 
24
-use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
25
-use OC\Files\Filesystem;
26 24
 use OCP\DB\QueryBuilder\IQueryBuilder;
27 25
 use OCP\Files\Config\ICachedMountInfo;
28 26
 use OCP\Files\Config\IUserMountCache;
29 27
 use OCP\Files\Mount\IMountPoint;
30 28
 use OCP\Files\NotFoundException;
31
-use OCP\ICache;
32 29
 use OCP\IDBConnection;
33 30
 use OCP\ILogger;
34 31
 use OCP\IUser;
Please login to merge, or discard this patch.
lib/private/l10n/factory.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -256,6 +256,11 @@
 block discarded – undo
256 256
 	 */
257 257
 	// FIXME This method is only public, until OC_L10N does not need it anymore,
258 258
 	// FIXME This is also the reason, why it is not in the public interface
259
+
260
+	/**
261
+	 * @param string|boolean $app
262
+	 * @param string|null $lang
263
+	 */
259 264
 	public function getL10nFilesForApp($app, $lang) {
260 265
 		$languageFiles = [];
261 266
 
Please login to merge, or discard this patch.
lib/private/l10n/l10n.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 	 * Returns the list of members for a group-principal
137 137
 	 *
138 138
 	 * @param string $principal
139
-	 * @return array
139
+	 * @return string[]
140 140
 	 */
141 141
 	function getGroupMemberSet($principal) {
142 142
 		// TODO: for now the group principal has only one member, the user itself
Please login to merge, or discard this patch.
lib/private/legacy/l10n.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
 	/**
330 330
 	 * find all available languages for an app
331 331
 	 * @param string $app App that needs to be translated
332
-	 * @return array an array of available languages
332
+	 * @return string[] an array of available languages
333 333
 	 * @deprecated 9.0.0 Use \OC::$server->getL10NFactory()->findAvailableLanguages() instead
334 334
 	 */
335 335
 	public static function findAvailableLanguages($app=null) {
Please login to merge, or discard this patch.
lib/private/template/base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 	/**
97 97
 	 * Appends a variable
98 98
 	 * @param string $key key
99
-	 * @param mixed $value value
99
+	 * @param string $value value
100 100
 	 * @return boolean|null
101 101
 	 *
102 102
 	 * This function assigns a variable in an array context. If the key already
Please login to merge, or discard this patch.
apps/dav/lib/comments/commentsplugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 	 * Returns the list of members for a group-principal
137 137
 	 *
138 138
 	 * @param string $principal
139
-	 * @return array
139
+	 * @return string[]
140 140
 	 */
141 141
 	function getGroupMemberSet($principal) {
142 142
 		// TODO: for now the group principal has only one member, the user itself
Please login to merge, or discard this patch.
apps/dav/lib/migration/addressbookadapter.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,6 @@
 block discarded – undo
5 5
 use OCA\DAV\CardDAV\AddressBook;
6 6
 use OCA\DAV\CardDAV\CardDavBackend;
7 7
 use Sabre\CardDAV\Plugin;
8
-use Symfony\Component\Console\Command\Command;
9
-use Symfony\Component\Console\Input\InputArgument;
10
-use Symfony\Component\Console\Input\InputInterface;
11
-use Symfony\Component\Console\Output\OutputInterface;
12 8
 
13 9
 class MigrateAddressbooks {
14 10
 
Please login to merge, or discard this patch.