Completed
Branch master (24200e)
by
unknown
34:35 queued 10s
created
includes/libs/objectcache/WANObjectCache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1219,7 +1219,7 @@  discard block
 block discarded – undo
1219 1219
 	 *     $ttl = $cache->adaptiveTTL( $mtime, $cache::TTL_DAY );
1220 1220
 	 * @endcode
1221 1221
 	 *
1222
-	 * @param integer|float $mtime UNIX timestamp
1222
+	 * @param string|boolean $mtime UNIX timestamp
1223 1223
 	 * @param integer $maxTTL Maximum TTL (seconds)
1224 1224
 	 * @param integer $minTTL Minimum TTL (seconds); Default: 30
1225 1225
 	 * @param float $factor Value in the range (0,1); Default: .2
@@ -1383,7 +1383,7 @@  discard block
 block discarded – undo
1383 1383
 	 * @param mixed $value
1384 1384
 	 * @param integer $ttl [0=forever]
1385 1385
 	 * @param float $now Unix Current timestamp just before calling set()
1386
-	 * @return array
1386
+	 * @return integer
1387 1387
 	 */
1388 1388
 	protected function wrap( $value, $ttl, $now ) {
1389 1389
 		return [
Please login to merge, or discard this patch.