php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72428 Eventbase::getMethod has wrong arginfo
Submitted: 2016-06-16 11:21 UTC Modified: 2018-07-23 03:10 UTC
From: cmb@php.net Assigned: carusogabriel (profile)
Status: Closed Package: event (PECL)
PHP Version: Irrelevant OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2016-06-16 11:21 UTC] cmb@php.net
Description:
------------
Apparently, the arginfo of EventBase::getMethod() is wrong. While
the method obviously accepts no arguments[1], the arginfo says it
accepts a single argument `cfg`[2].

See also the related doc bug #72423.

[1] <https://bitbucket.org/osmanov/pecl-event/src/d008d29048cf9e183161cfa23dc846d31db7596e/php7/classes/base.c?at=master&fileviewer=file-view-default#base.c-73>
[2] <https://bitbucket.org/osmanov/pecl-event/src/d008d29048cf9e183161cfa23dc846d31db7596e/php7/src/fe.c?at=2.1.0&fileviewer=file-view-default#fe.c-71>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-07-23 03:10 UTC] carusogabriel@php.net
-Status: Open +Status: Closed -Type: Bug +Type: Documentation Problem -Assigned To: +Assigned To: carusogabriel
 [2018-07-23 03:10 UTC] carusogabriel@php.net
Already fixed in https://bugs.php.net/bug.php?id=72423.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC