php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71788 Gmagick::write() returns Gmagick, not void
Submitted: 2016-03-10 23:59 UTC Modified: 2016-07-10 13:47 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: benjamin dot morel at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2016-03-10 23:59 UTC] benjamin dot morel at gmail dot com
Description:
------------
http://php.net/manual/en/gmagick.write.php

write() is an alias for writeimage(), source:
https://github.com/vitoc/gmagick/blob/master/gmagick.c#L1073
https://github.com/vitoc/gmagick/blob/master/gmagick_methods.c#L209

Expected result:
----------------
public Gmagick Gmagick::write ( string $filename )

Actual result:
--------------
public void Gmagick::write ( string $filename )

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-10 13:45 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339637
Log: Fix #71788: Gmagick::write() returns Gmagick, not void

Change description to indicate this method is an alias of the already documented Gmagick::writeimage()

--
Provided by anonymous 70634 (danebrood at gmail dot com)
 [2016-07-10 13:47 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-07-10 13:47 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

And thanks to Dan Brooks for providing the patch.
 [2020-02-07 06:07 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=4e57165e7dc7a9762808aeae24eed2f6a7d0ff6f
Log: Fix #71788: Gmagick::write() returns Gmagick, not void
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 05:01:30 2024 UTC