Passed
Branch ticket-41057 (5417d9)
by Stephen
08:42 queued 02:43
created
src/wp-admin/includes/class-wp-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
 	 * @access public
184 184
 	 *
185 185
 	 * @param string $name Property to check if set.
186
-	 * @return bool Whether the property is set.
186
+	 * @return boolean|null Whether the property is set.
187 187
 	 */
188 188
 	public function __isset( $name ) {
189 189
 		if ( in_array( $name, $this->compat_fields ) ) {
Please login to merge, or discard this patch.
src/wp-admin/includes/class-wp-ms-themes-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
 	/**
51 51
 	 *
52
-	 * @return array
52
+	 * @return string[]
53 53
 	 */
54 54
 	protected function get_table_classes() {
55 55
 		// todo: remove and add CSS for .themes
Please login to merge, or discard this patch.
src/wp-admin/includes/class-wp-ms-users-list-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -389,7 +389,7 @@
 block discarded – undo
389 389
 	 * @since 4.3.0
390 390
 	 * @access protected
391 391
 	 *
392
-	 * @param object $user        User being acted upon.
392
+	 * @param WP_User $user        User being acted upon.
393 393
 	 * @param string $column_name Current column name.
394 394
 	 * @param string $primary     Primary column name.
395 395
 	 * @return string Row actions output for users in Multisite.
Please login to merge, or discard this patch.
src/wp-admin/includes/misc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
  *
190 190
  * @global WP_Rewrite $wp_rewrite
191 191
  *
192
- * @return bool True if web.config was updated successfully
192
+ * @return null|boolean True if web.config was updated successfully
193 193
  */
194 194
 function iis7_save_url_rewrite_rules(){
195 195
 	if ( is_multisite() )
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
  *
276 276
  * @since 2.0.0
277 277
  *
278
- * @param array $vars An array of globals to reset.
278
+ * @param string[] $vars An array of globals to reset.
279 279
  */
280 280
 function wp_reset_vars( $vars ) {
281 281
 	foreach ( $vars as $var ) {
Please login to merge, or discard this patch.
src/wp-admin/includes/nav-menu.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1282,7 +1282,7 @@
 block discarded – undo
1282 1282
  *
1283 1283
  * @param int|string $nav_menu_selected_id (id, slug, or name ) of the currently-selected menu
1284 1284
  * @param string $nav_menu_selected_title Title of the currently-selected menu
1285
- * @return array $messages The menu updated message
1285
+ * @return string[] $messages The menu updated message
1286 1286
  */
1287 1287
 function wp_nav_menu_update_menu_items ( $nav_menu_selected_id, $nav_menu_selected_title ) {
1288 1288
 	$unsorted_menu_items = wp_get_nav_menu_items( $nav_menu_selected_id, array( 'orderby' => 'ID', 'output' => ARRAY_A, 'output_key' => 'ID', 'post_status' => 'draft,publish' ) );
Please login to merge, or discard this patch.
src/wp-admin/includes/upgrade.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1795,7 +1795,7 @@  discard block
 block discarded – undo
1795 1795
  *
1796 1796
  * @param string $table Database table name.
1797 1797
  * @param string $index Index name to drop.
1798
- * @return true True, when finished.
1798
+ * @return boolean True, when finished.
1799 1799
  */
1800 1800
 function drop_index($table, $index) {
1801 1801
 	global $wpdb;
@@ -1818,7 +1818,7 @@  discard block
 block discarded – undo
1818 1818
  *
1819 1819
  * @param string $table Database table name.
1820 1820
  * @param string $index Database table index column.
1821
- * @return true True, when done with execution.
1821
+ * @return boolean True, when done with execution.
1822 1822
  */
1823 1823
 function add_clean_index($table, $index) {
1824 1824
 	global $wpdb;
Please login to merge, or discard this patch.
src/wp-content/themes/twentyeleven/functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
  * @since Twenty Eleven 1.0
388 388
  *
389 389
  * @param string $more The Read More text.
390
- * @return The filtered Read More text.
390
+ * @return string filtered Read More text.
391 391
  */
392 392
 function twentyeleven_auto_excerpt_more( $more ) {
393 393
 	if ( ! is_admin() ) {
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
  *
541 541
  * @since Twenty Eleven 1.0
542 542
  *
543
- * @return string|bool URL or false when no link is present.
543
+ * @return false|string URL or false when no link is present.
544 544
  */
545 545
 function twentyeleven_url_grabber() {
546 546
 	if ( ! preg_match( '/<a\s[^>]*?href=[\'"](.+?)[\'"]/is', get_the_content(), $matches ) )
Please login to merge, or discard this patch.
src/wp-includes/canonical.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -503,7 +503,7 @@
 block discarded – undo
503 503
  * @access private
504 504
  *
505 505
  * @param string $query_string
506
- * @param array $args_to_check
506
+ * @param string[] $args_to_check
507 507
  * @param string $url
508 508
  * @return string The altered query string
509 509
  */
Please login to merge, or discard this patch.
src/wp-includes/class-wp-image-editor-gd.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 	 *
136 136
 	 * @param int $width
137 137
 	 * @param int $height
138
-	 * @return true
138
+	 * @return boolean
139 139
 	 */
140 140
 	protected function update_size( $width = false, $height = false ) {
141 141
 		if ( ! $width )
Please login to merge, or discard this patch.