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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat Jan 04 23:01:29 2025 UTC