Completed
Pull Request — master (#4106)
by Blizzz
15:12 queued 15s
created
lib/private/Files/Cache/Cache.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -410,6 +410,9 @@  discard block
 block discarded – undo
410 410
 		}
411 411
 	}
412 412
 
413
+	/**
414
+	 * @param string $path
415
+	 */
413 416
 	private function getParentPath($path) {
414 417
 		$parent = dirname($path);
415 418
 		if ($parent === '.') {
@@ -629,7 +632,7 @@  discard block
 block discarded – undo
629 632
 	 *
630 633
 	 * @param string $mimetype either a full mimetype to search ('text/plain') or only the first part of a mimetype ('image')
631 634
 	 *        where it will search for all mimetypes in the group ('image/*')
632
-	 * @return ICacheEntry[] an array of cache entries where the mimetype matches the search
635
+	 * @return CacheEntry[] an array of cache entries where the mimetype matches the search
633 636
 	 */
634 637
 	public function searchByMime($mimetype) {
635 638
 		if (strpos($mimetype, '/')) {
Please login to merge, or discard this patch.
lib/private/App/AppManager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 	/**
122 122
 	 * List all installed apps
123 123
 	 *
124
-	 * @return string[]
124
+	 * @return integer[]
125 125
 	 */
126 126
 	public function getInstalledApps() {
127 127
 		return array_keys($this->getInstalledAppsValues());
@@ -382,6 +382,9 @@  discard block
 block discarded – undo
382 382
 		return in_array($appId, $this->shippedApps, true);
383 383
 	}
384 384
 
385
+	/**
386
+	 * @param string $appId
387
+	 */
385 388
 	private function isAlwaysEnabled($appId) {
386 389
 		$alwaysEnabled = $this->getAlwaysEnabledApps();
387 390
 		return in_array($appId, $alwaysEnabled, true);
Please login to merge, or discard this patch.
lib/private/Template/JSResourceLocator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@  discard block
 block discarded – undo
30 30
 	/** @var JSCombiner */
31 31
 	protected $jsCombiner;
32 32
 
33
+	/**
34
+	 * @param string $theme
35
+	 */
33 36
 	public function __construct(\OCP\ILogger $logger, $theme, array $core_map, array $party_map, JSCombiner $JSCombiner) {
34 37
 		parent::__construct($logger, $theme, $core_map, $party_map);
35 38
 
@@ -91,6 +94,9 @@  discard block
 block discarded – undo
91 94
 	public function doFindTheme($script) {
92 95
 	}
93 96
 
97
+	/**
98
+	 * @param string $file
99
+	 */
94 100
 	protected function cacheAndAppendCombineJsonIfExist($root, $file, $app = 'core') {
95 101
 		if (is_file($root.'/'.$file)) {
96 102
 			if ($this->jsCombiner->process($root, $file, $app)) {
Please login to merge, or discard this patch.
apps/dav/lib/Avatars/AvatarHome.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
 		throw new Forbidden('Permission denied to delete this folder');
99 99
 	}
100 100
 
101
+	/**
102
+	 * @return string
103
+	 */
101 104
 	public function getName() {
102 105
 		list(,$name) = Uri\split($this->principalInfo['uri']);
103 106
 		return $name;
Please login to merge, or discard this patch.
apps/dav/lib/Migration/CalDAVRemoveEmptyValue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
 		}
98 98
 	}
99 99
 
100
+	/**
101
+	 * @param string $pattern
102
+	 */
100 103
 	protected function getInvalidObjects($pattern) {
101 104
 		$query = $this->db->getQueryBuilder();
102 105
 		$query->select(['calendarid', 'uri'])
Please login to merge, or discard this patch.
apps/files_external/lib/Lib/Storage/SharePoint.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
 	}
347 347
 
348 348
 	/**
349
-	 * @param $serverUrl
349
+	 * @param string $serverUrl
350 350
 	 * @return ClientObjectCollection[]
351 351
 	 */
352 352
 	private function getFolderContents($serverUrl) {
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
 	}
379 379
 
380 380
 	/**
381
-	 * @param $serverUrl
381
+	 * @param string $serverUrl
382 382
 	 * @return File|Folder
383 383
 	 * @throws NotFoundException
384 384
 	 */
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
 	/**
406 406
 	 * creates the relative server "url" out of the provided path
407 407
 	 *
408
-	 * @param $path
408
+	 * @param string $path
409 409
 	 * @return string
410 410
 	 */
411 411
 	private function formatPath($path) {
Please login to merge, or discard this patch.
apps/files_external/lib/Lib/SharePoint/SharePointClient.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,6 +54,10 @@  discard block
 block discarded – undo
54 54
 	/** @var  string */
55 55
 	private $documentLibraryTitle;
56 56
 
57
+	/**
58
+	 * @param string $sharePointUrl
59
+	 * @param string $documentLibraryTitle
60
+	 */
57 61
 	public function __construct(ContextsFactory $contextsFactory, $sharePointUrl, array $credentials, $documentLibraryTitle) {
58 62
 		$this->contextsFactory = $contextsFactory;
59 63
 		$this->sharePointUrl = $sharePointUrl;
@@ -114,7 +118,7 @@  discard block
 block discarded – undo
114 118
 	 * adds a folder on the given server path
115 119
 	 *
116 120
 	 * @param string $relativeServerPath
117
-	 * @return Folder
121
+	 * @return string
118 122
 	 * @throws \Exception
119 123
 	 */
120 124
 	public function createFolder($relativeServerPath) {
@@ -166,13 +170,16 @@  discard block
 block discarded – undo
166 170
 	/**
167 171
 	 * fetches the file content (aka download)
168 172
 	 *
169
-	 * @param $relativeServerPath
173
+	 * @param string $relativeServerPath
170 174
 	 * @return string the file content
171 175
 	 */
172 176
 	public function getFile($relativeServerPath) {
173 177
 		return File::openBinary($this->context, $relativeServerPath);
174 178
 	}
175 179
 
180
+	/**
181
+	 * @param string $relativeServerPath
182
+	 */
176 183
 	public function deleteFolder($relativeServerPath, Folder $folder = null) {
177 184
 		$this->ensureConnection();
178 185
 
Please login to merge, or discard this patch.