summaryrefslogtreecommitdiffstatshomepage
path: root/src/wp-includes/class-wp-image-editor-gd.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/wp-includes/class-wp-image-editor-gd.php')
-rw-r--r--src/wp-includes/class-wp-image-editor-gd.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wp-includes/class-wp-image-editor-gd.php b/src/wp-includes/class-wp-image-editor-gd.php
index cbcc880b4d..3e3915368c 100644
--- a/src/wp-includes/class-wp-image-editor-gd.php
+++ b/src/wp-includes/class-wp-image-editor-gd.php
@@ -79,7 +79,7 @@ class WP_Image_Editor_GD extends WP_Image_Editor {
*
* @since 3.5.0
*
- * @return bool|WP_Error True if loaded successfully; WP_Error on failure.
+ * @return true|WP_Error True if loaded successfully; WP_Error on failure.
*/
public function load() {
if ( $this->image ) {
@@ -311,7 +311,7 @@ class WP_Image_Editor_GD extends WP_Image_Editor {
* @param int $dst_w Optional. The destination width.
* @param int $dst_h Optional. The destination height.
* @param bool $src_abs Optional. If the source crop points are absolute.
- * @return bool|WP_Error
+ * @return true|WP_Error
*/
public function crop( $src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false ) {
// If destination width/height isn't specified,