From 9575f53d500eb2199603d6866c092de476d48e90 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 16:25:24 +0000 Subject: [PATCH] Docs: Fix hash notation syntax for the `$sizes[ $size ]` section in the DocBlock for `WP_Image_Editor_GD::multi_resize()`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35061 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-image-editor-gd.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-image-editor-gd.php b/src/wp-includes/class-wp-image-editor-gd.php index 53f083782a..3d4e89b72a 100644 --- a/src/wp-includes/class-wp-image-editor-gd.php +++ b/src/wp-includes/class-wp-image-editor-gd.php @@ -219,9 +219,11 @@ class WP_Image_Editor_GD extends WP_Image_Editor { * maintain aspect ratio according to the provided dimension. * * @type array $size { - * @type int ['width'] Optional. Image width. - * @type int ['height'] Optional. Image height. - * @type bool ['crop'] Optional. Whether to crop the image. Default false. + * Optional. Array of height, width values, and whether to crop. + * + * @type int $width Image width. + * @type int $height Image height. + * @type bool $crop Whether to crop the image. Default false. * } * } * @return array An array of resized images' metadata by size.