diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index c1dc3886f7..5aef552a3c 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -5056,9 +5056,10 @@ function wp_getimagesize( $filename, array &$image_info = null ) { * An array of WebP image information. * * @type array $size { - * @type int $width Image width. - * @type int $height Image height. - * @type bool $type The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'. + * @type int|false $width Image width on success, false on failure. + * @type int|false $height Image height on success, false on failure. + * @type string|false $type The WebP type: one of 'lossy', 'lossless' or 'animated-alpha'. + * False on failure. * } */ function wp_get_webp_info( $filename ) {