Completed
Push — stable8.1 ( 7a1b8f...6080a3 )
by
unknown
107:52
created
lib/private/image.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
 	}
300 300
 
301 301
 	/**
302
-	 * @return resource Returns the image resource in any.
302
+	 * @return boolean Returns the image resource in any.
303 303
 	 */
304 304
 	public function resource() {
305 305
 		return $this->resource;
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
 	 * It is the responsibility of the caller to position the pointer at the correct place and to close the handle again.
475 475
 	 *
476 476
 	 * @param resource $handle
477
-	 * @return resource|false An image resource or false on error
477
+	 * @return boolean An image resource or false on error
478 478
 	 */
479 479
 	public function loadFromFileHandle($handle) {
480 480
 		$contents = stream_get_contents($handle);
@@ -1023,6 +1023,7 @@  discard block
 block discarded – undo
1023 1023
 	 * @param string $fileName [optional] <p>The path to save the file to.</p>
1024 1024
 	 * @param int $bit [optional] <p>Bit depth, (default is 24).</p>
1025 1025
 	 * @param int $compression [optional]
1026
+	 * @param boolean $im
1026 1027
 	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
1027 1028
 	 */
1028 1029
 	function imagebmp($im, $fileName = '', $bit = 24, $compression = 0) {
Please login to merge, or discard this patch.
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/memcache/memcached.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
 	 * Set a value in the cache if it's not already stored
121 121
 	 *
122 122
 	 * @param string $key
123
-	 * @param mixed $value
123
+	 * @param integer $value
124 124
 	 * @param int $ttl Time To Live in seconds. Defaults to 60*60*24
125 125
 	 * @return bool
126 126
 	 */
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.