Docs: Fix hash notation syntax for the $sizes[ $size ]
section in the DocBlock for WP_Image_Editor_Imagick::multi_resize()
.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35062 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9575f53d50
commit
f66e753d46
@ -277,9 +277,11 @@ class WP_Image_Editor_Imagick 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.
|
||||
|
Loading…
Reference in New Issue
Block a user