Completed
Push — master ( bf78fd...b40852 )
by Scott
21:09
created
wp-includes/cache.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
  *
42 42
  * @since 2.0.0
43 43
  *
44
- * @return true Always returns true.
44
+ * @return boolean Always returns true.
45 45
  */
46 46
 function wp_cache_close() {
47 47
 	return true;
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
 	 * @since 2.0.0
511 511
 	 * @access public
512 512
 	 *
513
-	 * @return true Always returns true.
513
+	 * @return boolean Always returns true.
514 514
 	 */
515 515
 	public function flush() {
516 516
 		$this->cache = array();
@@ -659,7 +659,7 @@  discard block
 block discarded – undo
659 659
 	 * @param mixed      $data   The contents to store in the cache.
660 660
 	 * @param string     $group  Optional. Where to group the cache contents. Default 'default'.
661 661
 	 * @param int        $expire Not Used.
662
-	 * @return true Always returns true.
662
+	 * @return boolean Always returns true.
663 663
 	 */
664 664
 	public function set( $key, $data, $group = 'default', $expire = 0 ) {
665 665
 		if ( empty( $group ) )
@@ -753,7 +753,7 @@  discard block
 block discarded – undo
753 753
 	 *
754 754
 	 * @since 2.0.8
755 755
 	 *
756
-	 * @return true Always returns true.
756
+	 * @return boolean Always returns true.
757 757
 	 */
758 758
 	public function __destruct() {
759 759
 		return true;
Please login to merge, or discard this patch.
wp-includes/canonical.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -533,7 +533,7 @@
 block discarded – undo
533 533
  * @access private
534 534
  *
535 535
  * @param string $query_string
536
- * @param array $args_to_check
536
+ * @param string[] $args_to_check
537 537
  * @param string $url
538 538
  * @return string The altered query string
539 539
  */
Please login to merge, or discard this patch.
wp-includes/capabilities.php 1 patch
Doc Comments   -9 removed lines patch added patch discarded remove patch
@@ -20,10 +20,6 @@  discard block
 block discarded – undo
20 20
  *
21 21
  * @param string $cap       Capability name.
22 22
  * @param int    $user_id   User ID.
23
- * @param int    $object_id Optional. ID of the specific object to check against if `$cap` is a "meta" cap.
24
- *                          "Meta" capabilities, e.g. 'edit_post', 'edit_user', etc., are capabilities used
25
- *                          by map_meta_cap() to map to other "primitive" capabilities, e.g. 'edit_posts',
26
- *                          'edit_others_posts', etc. The parameter is accessed via func_get_args().
27 23
  * @return array Actual capabilities for meta capability.
28 24
  */
29 25
 function map_meta_cap( $cap, $user_id ) {
@@ -436,11 +432,6 @@  discard block
 block discarded – undo
436 432
  * @see map_meta_cap()
437 433
  *
438 434
  * @param string $capability Capability name.
439
- * @param int    $object_id  Optional. ID of the specific object to check against if `$capability` is a "meta" cap.
440
- *                           "Meta" capabilities, e.g. 'edit_post', 'edit_user', etc., are capabilities used
441
- *                           by map_meta_cap() to map to other "primitive" capabilities, e.g. 'edit_posts',
442
- *                           'edit_others_posts', etc. Accessed via func_get_args() and passed to WP_User::has_cap(),
443
- *                           then map_meta_cap().
444 435
  * @return bool Whether the current user has the given capability. If `$capability` is a meta cap and `$object_id` is
445 436
  *              passed, whether the current user has the given meta capability for the given object.
446 437
  */
Please login to merge, or discard this patch.
wp-includes/category-template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -764,7 +764,7 @@
 block discarded – undo
764 764
  * Default topic count scaling for tag links
765 765
  *
766 766
  * @param int $count number of posts with that tag
767
- * @return int scaled count
767
+ * @return double scaled count
768 768
  */
769 769
 function default_topic_count_scale( $count ) {
770 770
 	return round(log10($count + 1) * 100);
Please login to merge, or discard this patch.
wp-includes/class-feed.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	 * @access public
99 99
 	 *
100 100
 	 * @param SimplePie $data Data to save.
101
-	 * @return true Always true.
101
+	 * @return boolean Always true.
102 102
 	 */
103 103
 	public function save($data) {
104 104
 		if ( $data instanceof SimplePie ) {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	 * @since 2.8.0
153 153
 	 * @access public
154 154
 	 *
155
-	 * @return true Always true.
155
+	 * @return boolean Always true.
156 156
 	 */
157 157
 	public function unlink() {
158 158
 		delete_transient($this->name);
Please login to merge, or discard this patch.
wp-includes/class-http.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -617,7 +617,7 @@  discard block
 block discarded – undo
617 617
 	 * @since 2.7.0
618 618
 	 *
619 619
 	 * @param string $strResponse The full response string
620
-	 * @return array Array with 'headers' and 'body' keys.
620
+	 * @return string Array with 'headers' and 'body' keys.
621 621
 	 */
622 622
 	public static function processResponse($strResponse) {
623 623
 		$res = explode("\r\n\r\n", $strResponse, 2);
@@ -637,7 +637,7 @@  discard block
 block discarded – undo
637 637
 	 *
638 638
 	 * @param string|array $headers
639 639
 	 * @param string $url The URL that was requested
640
-	 * @return array Processed string headers. If duplicate headers are encountered,
640
+	 * @return string Processed string headers. If duplicate headers are encountered,
641 641
 	 * 					Then a numbered array is returned as the value of that header-key.
642 642
 	 */
643 643
 	public static function processHeaders( $headers, $url = '' ) {
Please login to merge, or discard this patch.
wp-includes/class-wp-comment-query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1063,7 +1063,7 @@
 block discarded – undo
1063 1063
 	 * @access protected
1064 1064
 	 *
1065 1065
 	 * @param string $string
1066
-	 * @param array $cols
1066
+	 * @param string[] $cols
1067 1067
 	 * @return string
1068 1068
 	 */
1069 1069
 	protected function get_search_sql( $string, $cols ) {
Please login to merge, or discard this patch.
wp-includes/class-wp-comment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -366,7 +366,7 @@
 block discarded – undo
366 366
 	 * @access public
367 367
 	 *
368 368
 	 * @param string $name Property name.
369
-	 * @return bool
369
+	 * @return boolean|null
370 370
 	 */
371 371
 	public function __isset( $name ) {
372 372
 		if ( in_array( $name, $this->post_fields ) && 0 !== (int) $this->comment_post_ID ) {
Please login to merge, or discard this patch.
wp-includes/class-wp-customize-control.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
 	 * @since 4.0.0
257 257
 	 * @access public
258 258
 	 *
259
-	 * @return true Always true.
259
+	 * @return boolean Always true.
260 260
 	 */
261 261
 	public function active_callback() {
262 262
 		return true;
Please login to merge, or discard this patch.