Doc #71794 [Com]: GmagickDraw::gettextencoding() can return false, not only string

From: Date: Fri, 11 Mar 2016 10:58:30 +0000
Subject: Doc #71794 [Com]: GmagickDraw::gettextencoding() can return false, not only string
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13309@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71794&edit=1 ID: 71794 Comment by: benjamin dot morel at gmail dot com Reported by: benjamin dot morel at gmail dot com Summary: GmagickDraw::gettextencoding() can return false, not only string Status: Open Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Sorry, I meant string|bool Previous Comments: ------------------------------------------------------------------------ [2016-03-11 10:57:51] 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 ) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71794&edit=1

« previous php.doc.bugs (#13309) next »