php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71794 GmagickDraw::gettextencoding() can return false, not only string
Submitted: 2016-03-11 10:57 UTC Modified: 2016-07-10 13:06 UTC
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: benjamin dot morel at gmail dot com
New email:
PHP Version: OS:

 

 [2016-03-11 10:57 UTC] benjamin dot morel at gmail dot com
Description:
------------
According to the manual:
http://php.net/manual/en/gmagickdraw.gettextencoding.php

And the source code:
https://github.com/vitoc/gmagick/blob/master/gmagickdraw_methods.c#L450

The method can return false.

Expected result:
----------------
public string|false GmagickDraw::gettextencoding ( void )

Actual result:
--------------
public string GmagickDraw::gettextencoding ( void )

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-11 10:58 UTC] benjamin dot morel at gmail dot com
Sorry, I meant string|bool
 [2016-07-10 13:06 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339632
Log: Fix #71794: GmagickDraw::gettextencoding() can return false, not only string
 [2016-07-10 13:06 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-07-10 13:06 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=f5abd0b0f3f6b3d83c80891e72f5854b46e372b6
Log: Fix #71794: GmagickDraw::gettextencoding() can return false, not only string
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 23:01:30 2024 UTC