From 04d3748efa34e483de6c18b2fd47495621117154 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 4 Mar 2016 17:36:10 +0000 Subject: [PATCH] Docs: Improve DocBlock syntax and add a missing `@return` notation for `WP_Image_Editor_Imagick::strip_meta()`, introduced in [36700]. See: #33642, #30402, #28634. See #35986. git-svn-id: https://develop.svn.wordpress.org/trunk@36847 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-image-editor-imagick.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php index b9a2f64a89..125ef0d99c 100644 --- a/src/wp-includes/class-wp-image-editor-imagick.php +++ b/src/wp-includes/class-wp-image-editor-imagick.php @@ -654,10 +654,12 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor { } /** - * Strip all image meta except color profiles from an image. + * Strips all image meta except color profiles from an image. * - * @access protected * @since 4.5.0 + * @access protected + * + * @return true|WP_Error True if stripping metadata was successful. WP_Error object on error. */ protected function strip_meta() { try {