|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71781 Gmagick::read*() methods return Gmagick, not void
Submitted: 2016-03-10 22:41 UTC Modified: 2016-03-11 10:24 UTC
From: benjamin dot morel at gmail dot com Assigned: cmb (profile)
Status: Closed Package: gmagick (PECL)
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: benjamin dot morel at gmail dot com
New email:
PHP Version: OS:


 [2016-03-10 22:41 UTC] benjamin dot morel at gmail dot com
In pages:


Note that read() is an alias for readimage():

Expected result:
public Gmagick Gmagick::read ( string $filename )
public Gmagick Gmagick::readimage ( string $filename )
public Gmagick Gmagick::readimageblob ( string $imageContents [, string $filename ] )
public Gmagick Gmagick::readimagefile ( resource $fp [, string $filename ] )

Actual result:
public void Gmagick::read ( string $filename )
public void Gmagick::readimage ( string $filename )
public void Gmagick::readimageblob ( string $imageContents [, string $filename ] )
public void Gmagick::readimagefile ( resource $fp [, string $filename ] )


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-11 10:23 UTC]
Automatic comment from SVN on behalf of cmb
Log: fixed #71781 (Gmagick::read*() methods return Gmagick, not void)
 [2016-03-11 10:24 UTC]
-Status: Open +Status: Closed -Package: Documentation problem +Package: gmagick -Assigned To: +Assigned To: cmb
 [2016-03-11 10:24 UTC]
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.
 [2020-02-07 06:07 UTC]
Automatic comment on behalf of cmb
Log: fixed #71781 (Gmagick::read*() methods return Gmagick, not void)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 03:01:30 2024 UTC