Doc #72422 [Ver->Csd]: typo: declaration argument should be string
| From: | cmb@php.net | Date: | Thu, 16 Jun 2016 11:03:04 +0000 |
| Subject: | Doc #72422 [Ver->Csd]: typo: declaration argument should be string | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13541@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72422&edit=1
ID: 72422
Updated by: cmb@php.net
Reported by: tridays at qq dot com
Summary: typo: declaration argument should be string
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: event
Operating System: irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2016-06-16 11:02:19] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339360
Log: Fix #72422: typo: declaration argument should be string
------------------------------------------------------------------------
[2016-06-15 19:20:46] requinix@php.net
Confirmed that EventConfig::avoidMethod takes a string.
------------------------------------------------------------------------
[2016-06-15 19:10:26] tridays at qq dot com
Description:
------------
In this page, I got
public bool EventConfig::avoidMethod ( int $method )
it should be:
public bool EventConfig::avoidMethod ( string $method )
just like example code below.
---
From manual page: http://www.php.net/eventconfig.avoidmethod
---
Expected result:
----------------
public bool EventConfig::avoidMethod ( string $method )
Actual result:
--------------
public bool EventConfig::avoidMethod ( int $method )
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72422&edit=1