Docs: Miscellaneous docblock fixes and improvements.

See #48303


git-svn-id: https://develop.svn.wordpress.org/trunk@46594 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2019-10-26 20:42:00 +00:00
parent c951d94c72
commit a2e08032dc
7 changed files with 101 additions and 44 deletions

View File

@@ -453,7 +453,13 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
*
* @since 5.3.0
*
* @param array $size_data Array of width, height, and whether to crop.
* @param array $size_data {
* Array of size data.
*
* @type int $width The maximum width in pixels.
* @type int $height The maximum height in pixels.
* @type bool $crop Whether to crop the image to exact dimensions.
* }
* @return WP_Error|array WP_Error on error, or the image data array for inclusion in the `sizes` array in the image meta.
*/
public function make_subsize( $size_data ) {