php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76687 Ds\Pair documentation is missing $key and $value properties
Submitted: 2018-07-31 10:17 UTC Modified: 2018-11-18 21:06 UTC
From: enumag at gmail dot com Assigned: rtheunissen (profile)
Status: Closed Package: *General Issues
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: enumag at gmail dot com
New email:
PHP Version: OS:

 

 [2018-07-31 10:17 UTC] enumag at gmail dot com
Description:
------------
Currently the class synopsis looks like this:

```
Ds\Pair implements JsonSerializable {

    /* Methods */
    public __construct ([ mixed $key [, mixed $value ]] )
}
```

It should look like this:

```
Ds\Pair implements JsonSerializable {


    /* Properties */
    public mixed $key ;
    public mixed $value ;

    /* Methods */
    public __construct ([ mixed $key [, mixed $value ]] )
}
```


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-01 12:09 UTC] cmb@php.net
-Assigned To: +Assigned To: rtheunissen
 [2018-11-18 21:06 UTC] rtheunissen@php.net
-Status: Assigned +Status: Closed -Type: Documentation Problem +Type: Bug -Package: Documentation problem +Package: *General Issues
 [2018-11-18 21:06 UTC] rtheunissen@php.net
This has now been fixed. Please see: https://github.com/php-ds/ext-ds/issues/119
 [2020-06-26 07:38 UTC] enumag at gmail dot com
Note: While this is fixed in reflection, it is still NOT fixed in the docs: https://www.php.net/manual/en/class.ds-pair.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC