Completed
Push — master ( bf78fd...b40852 )
by Scott
21:09
created
wp-includes/class-wp-customize-nav-menus.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 	 * @since 4.3.0
43 43
 	 * @access public
44 44
 	 *
45
-	 * @param object $manager An instance of the WP_Customize_Manager class.
45
+	 * @param WP_Customize_Manager $manager An instance of the WP_Customize_Manager class.
46 46
 	 */
47 47
 	public function __construct( $manager ) {
48 48
 		$this->previewed_menus = array();
@@ -958,7 +958,7 @@  discard block
 block discarded – undo
958 958
 	 *
959 959
 	 * @param string $nav_menu_content The HTML content for the navigation menu.
960 960
 	 * @param object $args             An object containing wp_nav_menu() arguments.
961
-	 * @return null
961
+	 * @return string
962 962
 	 */
963 963
 	public function filter_wp_nav_menu( $nav_menu_content, $args ) {
964 964
 		if ( isset( $args->customize_preview_nav_menus_args['can_partial_refresh'] ) && $args->customize_preview_nav_menus_args['can_partial_refresh'] ) {
Please login to merge, or discard this patch.
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-http-response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 	 * @since 4.4.0
64 64
 	 * @access public
65 65
 	 *
66
-	 * @return array Map of header name to header value.
66
+	 * @return integer Map of header name to header value.
67 67
 	 */
68 68
 	public function get_headers() {
69 69
 		return $this->headers;
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.