Doc #73855 [Asn->Csd]: Imagick::textureImage documentation and annotation are wrong

From: Date: Tue, 07 Feb 2017 23:38:45 +0000
Subject: Doc #73855 [Asn->Csd]: Imagick::textureImage documentation and annotation are wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14423@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 Updated by: danack@php.net Reported by: gregoire dot daussin at gmail dot com Summary: Imagick::textureImage documentation and annotation are wrong -Status: Assigned +Status: Closed Type: Documentation Problem Package: imagick PHP Version: Irrelevant Assigned To: danack Block user comment: N Private report: N New Comment: gabriel thanks for the patch. gregoire, the documentation will be updated in a few days when its build process runs. Previous Comments: ------------------------------------------------------------------------ [2017-02-07 02:00:19] gabriel dot jean at outlook dot com 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 ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#14423) next »