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
 [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
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sat Dec 15 00:01:26 2018 UTC