Completed
Branch master (8c16dc)
by Scott
15:46
created
wp-includes/class-wp-customize-widgets.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
 	 *
243 243
 	 * @param string $name    Post value.
244 244
 	 * @param mixed  $default Default post value.
245
-	 * @return mixed Unslashed post value or default value.
245
+	 * @return string Unslashed post value or default value.
246 246
 	 */
247 247
 	protected function get_post_value( $name, $default = null ) {
248 248
 		if ( ! isset( $_POST[ $name ] ) ) {
Please login to merge, or discard this patch.
wp-includes/class-wp-http-requests-response.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	 * @since 4.6.0
66 66
 	 * @access public
67 67
 	 *
68
-	 * @return array Map of header name to header value.
68
+	 * @return Requests_Utility_CaseInsensitiveDictionary Map of header name to header value.
69 69
 	 */
70 70
 	public function get_headers() {
71 71
 		// Ensure headers remain case-insensitive
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 	 * @since 4.6.0
145 145
 	 * @access public
146 146
 	 *
147
-	 * @return mixed Response data.
147
+	 * @return string Response data.
148 148
 	 */
149 149
 	public function get_data() {
150 150
 		return $this->response->body;
Please login to merge, or discard this patch.
wp-includes/class-wp-image-editor-gd.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 	 *
128 128
 	 * @param int $width
129 129
 	 * @param int $height
130
-	 * @return true
130
+	 * @return boolean
131 131
 	 */
132 132
 	protected function update_size( $width = false, $height = false ) {
133 133
 		if ( ! $width )
Please login to merge, or discard this patch.
wp-includes/class-wp-image-editor-imagick.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
 	 * @param int    $dst_h       The destination height.
282 282
 	 * @param string $filter_name Optional. The Imagick filter to use when resizing. Default 'FILTER_TRIANGLE'.
283 283
 	 * @param bool   $strip_meta  Optional. Strip all profiles, excluding color profiles, from the image. Default true.
284
-	 * @return bool|WP_Error
284
+	 * @return null|WP_Error
285 285
 	 */
286 286
 	protected function thumbnail_image( $dst_w, $dst_h, $filter_name = 'FILTER_TRIANGLE', $strip_meta = true ) {
287 287
 		$allowed_filters = array(
Please login to merge, or discard this patch.
wp-includes/class-wp-image-editor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 	 *
200 200
 	 * @param int $width
201 201
 	 * @param int $height
202
-	 * @return true
202
+	 * @return boolean
203 203
 	 */
204 204
 	protected function update_size( $width = null, $height = null ) {
205 205
 		$this->size = array(
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 	 * @since 4.0.0
216 216
 	 * @access public
217 217
 	 *
218
-	 * @return int $quality Compression Quality. Range: [1,100]
218
+	 * @return boolean $quality Compression Quality. Range: [1,100]
219 219
 	 */
220 220
 	public function get_quality() {
221 221
 		if ( ! $this->quality ) {
Please login to merge, or discard this patch.
wp-includes/class-wp-post.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
 	 * @global wpdb $wpdb WordPress database abstraction object.
206 206
 	 *
207 207
 	 * @param int $post_id Post ID.
208
-	 * @return WP_Post|false Post object, false otherwise.
208
+	 * @return string Post object, false otherwise.
209 209
 	 */
210 210
 	public static function get_instance( $post_id ) {
211 211
 		global $wpdb;
Please login to merge, or discard this patch.
wp-includes/class-wp-theme.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
 	 * and care should be taken to use `$theme::display( 'Name' )` to get a properly
441 441
 	 * translated header.
442 442
 	 *
443
-	 * @param mixed $offset
443
+	 * @param string $offset
444 444
 	 * @return mixed
445 445
 	 */
446 446
 	public function offsetGet( $offset ) {
@@ -989,7 +989,7 @@  discard block
 block discarded – undo
989 989
 	 * @since 3.4.0
990 990
 	 * @access public
991 991
 	 *
992
-	 * @param mixed $type Optional. Array of extensions to return. Defaults to all files (null).
992
+	 * @param string $type Optional. Array of extensions to return. Defaults to all files (null).
993 993
 	 * @param int $depth Optional. How deep to search for files. Defaults to a flat scan (0 depth). -1 depth is infinite.
994 994
 	 * @param bool $search_parent Optional. Whether to return parent files. Defaults to false.
995 995
 	 * @return array Array of files, keyed by the path to the file relative to the theme's directory, with the values
@@ -1363,7 +1363,7 @@  discard block
 block discarded – undo
1363 1363
 	 * @access public
1364 1364
 	 * @static
1365 1365
 	 *
1366
-	 * @param string|array $stylesheets Stylesheet name or array of stylesheet names.
1366
+	 * @param string $stylesheets Stylesheet name or array of stylesheet names.
1367 1367
 	 */
1368 1368
 	public static function network_disable_theme( $stylesheets ) {
1369 1369
 		if ( ! is_multisite() ) {
Please login to merge, or discard this patch.
wp-includes/class-wp-user-query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -767,7 +767,7 @@
 block discarded – undo
767 767
 	 * @access public
768 768
 	 *
769 769
 	 * @param string $name Property to check if set.
770
-	 * @return bool Whether the property is set.
770
+	 * @return boolean|null Whether the property is set.
771 771
 	 */
772 772
 	public function __isset( $name ) {
773 773
 		if ( in_array( $name, $this->compat_fields ) ) {
Please login to merge, or discard this patch.
wp-includes/class-wp-user.php 1 patch
Doc Comments   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	 * @since 2.0.0
117 117
 	 * @access public
118 118
 	 *
119
-	 * @param int|string|stdClass|WP_User $id User's ID, a WP_User object, or a user object from the DB.
119
+	 * @param integer $id User's ID, a WP_User object, or a user object from the DB.
120 120
 	 * @param string $name Optional. User's username
121 121
 	 * @param int $blog_id Optional Site ID, defaults to current site.
122 122
 	 */
@@ -699,11 +699,6 @@  discard block
 block discarded – undo
699 699
 	 * @see map_meta_cap()
700 700
 	 *
701 701
 	 * @param string $cap           Capability name.
702
-	 * @param int    $object_id,... Optional. ID of the specific object to check against if `$cap` is a "meta" cap.
703
-	 *                              "Meta" capabilities, e.g. 'edit_post', 'edit_user', etc., are capabilities used
704
-	 *                              by map_meta_cap() to map to other "primitive" capabilities, e.g. 'edit_posts',
705
-	 *                              'edit_others_posts', etc. The parameter is accessed via func_get_args() and passed
706
-	 *                              to map_meta_cap().
707 702
 	 * @return bool Whether the current user has the given capability. If `$cap` is a meta cap and `$object_id` is
708 703
 	 *              passed, whether the current user has the given meta capability for the given object.
709 704
 	 */
Please login to merge, or discard this patch.