Doc #73855 [Com]: Imagick::textureImage documentation and annotation are wrong
| From: | gabriel dot jean at outlook dot com | Date: | Tue, 07 Feb 2017 02:00:21 +0000 |
| Subject: | Doc #73855 [Com]: Imagick::textureImage documentation and annotation are wrong | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14419@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73855&edit=1
ID: 73855
Comment by: gabriel dot jean at outlook dot com
Reported by: gregoire dot daussin at gmail dot com
Summary: Imagick::textureImage documentation and annotation
are wrong
Status: Assigned
Type: Documentation Problem
Package: imagick
PHP Version: Irrelevant
Assigned To: danack
Block user comment: N
Private report: N
New Comment:
This is the normal behavior of the MagickWand api (see https://www.imagemagick.org/api/magick-image.php#MagickTextureImage)
Made a quick patch for the doc:
http://edit.php.net/?patchID=2363&project=PHP
Previous Comments:
------------------------------------------------------------------------
[2017-01-11 05:02:06] krakjoe@php.net
Dan assigning to you: Can you take a quick look at this please ?
------------------------------------------------------------------------
[2017-01-03 10:38:34] gregoire dot daussin at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/imagick.textureimage
---
Both online documentation and in-code annotation are wrong about the return value.
It does not return TRUE as stated but the new imagick object.
Either fix the documentation and the annotations, or even better fix the return value to return TRUE
and update the source object like other functions.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73855&edit=1