Doc #72422 [Opn->Ver]: typo: declaration argument should be string
| From: | requinix@php.net | Date: | Wed, 15 Jun 2016 19:20:47 +0000 |
| Subject: | Doc #72422 [Opn->Ver]: typo: declaration argument should be string | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13537@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: requinix@php.net
Reported by: tridays at qq dot com
Summary: typo: declaration argument should be string
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Documentation problem
+Package: event
Operating System: irrelevant
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Confirmed that EventConfig::avoidMethod takes a string.
Previous Comments:
------------------------------------------------------------------------
[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