Completed
Push — stable8.1 ( 0df34d...256c2c )
by Roeland
65:01
created
lib/private/l10n.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 	}
136 136
 
137 137
 	/**
138
-	 * @param $transFile
138
+	 * @param string $transFile
139 139
 	 * @param bool $mergeTranslations
140 140
 	 * @return bool
141 141
 	 */
@@ -517,6 +517,9 @@  discard block
 block discarded – undo
517 517
 		return Punic\Calendar::getFirstWeekday($locale);
518 518
 	}
519 519
 
520
+	/**
521
+	 * @param string $locale
522
+	 */
520 523
 	private function transformToCLDRLocale($locale) {
521 524
 		if ($locale === 'sr@latin') {
522 525
 			return 'sr_latn';
Please login to merge, or discard this patch.
lib/private/mail/message.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 	/**
96 96
 	 * Set the Reply-To address of this message
97 97
 	 *
98
-	 * @param array $addresses
98
+	 * @param string[] $addresses
99 99
 	 * @return $this
100 100
 	 */
101 101
 	public function setReplyTo(array $addresses) {
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 	/**
162 162
 	 * Set the BCC recipients of this message.
163 163
 	 *
164
-	 * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name')
164
+	 * @param string[] $recipients Example: array('[email protected]', '[email protected]' => 'A name')
165 165
 	 * @return $this
166 166
 	 */
167 167
 	public function setBcc(array $recipients) {
Please login to merge, or discard this patch.
lib/private/memcache/factory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
 	/**
173 173
 	 * @see \OC\Memcache\Factory::createLocal()
174 174
 	 * @param string $prefix
175
-	 * @return \OC\Memcache\Cache|null
175
+	 * @return Cache
176 176
 	 */
177 177
 	public function createLowLatency($prefix = '') {
178 178
 		return $this->createLocal($prefix);
Please login to merge, or discard this patch.
lib/private/route/router.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -127,6 +127,7 @@
 block discarded – undo
127 127
 
128 128
 	/**
129 129
 	 * loads the api routes
130
+	 * @param string $app
130 131
 	 * @return void
131 132
 	 */
132 133
 	public function loadRoutes($app = null) {
Please login to merge, or discard this patch.
lib/private/server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -856,7 +856,7 @@
 block discarded – undo
856 856
 	 * Get the certificate manager for the user
857 857
 	 *
858 858
 	 * @param string $userId (optional) if not specified the current loggedin user is used
859
-	 * @return \OCP\ICertificateManager | null if $uid is null and no user is logged in
859
+	 * @return null|CertificateManager | null if $uid is null and no user is logged in
860 860
 	 */
861 861
 	public function getCertificateManager($userId = null) {
862 862
 		if (is_null($userId)) {
Please login to merge, or discard this patch.
lib/private/setup/abstractdatabase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -91,5 +91,8 @@
 block discarded – undo
91 91
 		$this->tablePrefix = $dbTablePrefix;
92 92
 	}
93 93
 
94
+	/**
95
+	 * @param string $userName
96
+	 */
94 97
 	abstract public function setupDatabase($userName);
95 98
 }
Please login to merge, or discard this patch.
lib/private/share/helper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
 	 *
228 228
 	 * all return: http://localhost
229 229
 	 *
230
-	 * @param string $shareWith
230
+	 * @param string $remote
231 231
 	 * @return string
232 232
 	 */
233 233
 	protected static function fixRemoteURL($remote) {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 	 * split user and remote from federated cloud id
245 245
 	 *
246 246
 	 * @param string $id
247
-	 * @return array
247
+	 * @return string[]
248 248
 	 * @throws HintException
249 249
 	 */
250 250
 	public static function splitUserRemote($id) {
Please login to merge, or discard this patch.
lib/private/share/share.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -2211,6 +2211,16 @@
 block discarded – undo
2211 2211
 		return $id ? $id : false;
2212 2212
 	}
2213 2213
 
2214
+	/**
2215
+	 * @param string $itemType
2216
+	 * @param string $itemSource
2217
+	 * @param integer $shareType
2218
+	 * @param string $shareWith
2219
+	 * @param string $uidOwner
2220
+	 * @param integer $permissions
2221
+	 * @param string|null $itemSourceName
2222
+	 * @param null|\DateTime $expirationDate
2223
+	 */
2214 2224
 	private static function checkReshare($itemType, $itemSource, $shareType, $shareWith, $uidOwner, $permissions, $itemSourceName, $expirationDate) {
2215 2225
 		$backend = self::getBackend($itemType);
2216 2226
 
Please login to merge, or discard this patch.
lib/private/tags.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -741,11 +741,19 @@  discard block
 block discarded – undo
741 741
 	}
742 742
 
743 743
 	// case-insensitive array_search
744
+
745
+	/**
746
+	 * @param string $needle
747
+	 */
744 748
 	protected function array_searchi($needle, $haystack, $mem='getName') {
745 749
 		if(!is_array($haystack)) {
746 750
 			return false;
747 751
 		}
748 752
 		return array_search(strtolower($needle), array_map(
753
+
754
+			/**
755
+			 * @param string $tag
756
+			 */
749 757
 			function($tag) use($mem) {
750 758
 				return strtolower(call_user_func(array($tag, $mem)));
751 759
 			}, $haystack)
@@ -770,7 +778,7 @@  discard block
 block discarded – undo
770 778
 	* Get a tag by its name.
771 779
 	*
772 780
 	* @param string $name The tag name.
773
-	* @return integer|bool The tag object's offset within the $this->tags
781
+	* @return \OCP\AppFramework\Db\Entity The tag object's offset within the $this->tags
774 782
 	*                      array or false if it doesn't exist.
775 783
 	*/
776 784
 	private function getTagByName($name) {
@@ -781,7 +789,7 @@  discard block
 block discarded – undo
781 789
 	* Get a tag by its ID.
782 790
 	*
783 791
 	* @param string $id The tag ID to look for.
784
-	* @return integer|bool The tag object's offset within the $this->tags
792
+	* @return \OCP\AppFramework\Db\Entity The tag object's offset within the $this->tags
785 793
 	*                      array or false if it doesn't exist.
786 794
 	*/
787 795
 	private function getTagById($id) {
Please login to merge, or discard this patch.