Doc #71761 [Com]: Gmagick::deconstructimages() returns a Gmagick object, not void
| From: | benjamin dot morel at gmail dot com | Date: | Thu, 10 Mar 2016 00:18:03 +0000 |
| Subject: | Doc #71761 [Com]: Gmagick::deconstructimages() returns a Gmagick object, not void | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13253@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71761&edit=1
ID: 71761
Comment by: benjamin dot morel at gmail dot com
Reported by: benjamin dot morel at gmail dot com
Summary: Gmagick::deconstructimages() returns a Gmagick
object, not void
Status: Open
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Also, the return value should be documented as:
"Returns a new Gmagick object on success."
It does not return self.
Previous Comments:
------------------------------------------------------------------------
[2016-03-10 00:15:53] benjamin dot morel at gmail dot com
Description:
------------
Gmagick::deconstructimages() returns a Gmagick object, not void:
http://php.net/manual/en/gmagick.deconstructimages.php
Source:
https://github.com/vitoc/gmagick/blob/master/gmagick_methods.c#L696-L719
Equivalent in Imagick:
http://php.net/manual/en/imagick.deconstructimages.php
Expected result:
----------------
public Gmagick Gmagick::deconstructimages ( void )
Actual result:
--------------
public void Gmagick::deconstructimages ( void )
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71761&edit=1