php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71765 Gmagick::getimagebackgroundcolor() returns GmagickPixel, not void
Submitted: 2016-03-10 12:11 UTC Modified: 2016-03-10 17:41 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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
15 + 39 = ?
Subscribe to this entry?

 
 [2016-03-10 12:11 UTC] benjamin dot morel at gmail dot com
Description:
------------
http://php.net/manual/en/gmagick.getimagebackgroundcolor.php

Test script:
---------------
$g = new gmagick('test.gif');
echo get_class($g->getimagebackgroundcolor()); // ImagickPixel

Expected result:
----------------
public GmagickPixel Gmagick::getimagebackgroundcolor ( void )

Actual result:
--------------
public void Gmagick::getimagebackgroundcolor ( void )

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-10 17:35 UTC] cmb@php.net
-Summary: Gmagick::getimagebackgroundcolor() returns ImagickPixel, not void +Summary: Gmagick::getimagebackgroundcolor() returns GmagickPixel, not void -Status: Open +Status: Verified -Package: Documentation problem +Package: gmagick -Assigned To: +Assigned To: cmb
 [2016-03-10 17:40 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=338710
Log: fixed #71765: Gmagick::getimagebackgroundcolor() returns GmagickPixel, not void
 [2016-03-10 17:41 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2016-03-10 17:41 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.
 [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=0a074607d8f1d443cad2dfbaf1899915dfa3a50b
Log: fixed #71765: Gmagick::getimagebackgroundcolor() returns GmagickPixel, not void
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 01:01:32 2024 UTC