diff --git a/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php b/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php index a447a3cdcf..b3ea89a86e 100644 --- a/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php +++ b/src/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php @@ -563,7 +563,7 @@ abstract class WP_REST_Meta_Fields { * * @since 5.3.0 * - * @param string $type + * @param string $type The schema type. * @return mixed */ protected function get_default_for_type( $type ) { @@ -577,7 +577,6 @@ abstract class WP_REST_Meta_Fields { case 'number': return 0.0; case 'array': - return array(); case 'object': return array(); default: