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
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.
(description)
Block user comment
Status: Assign to:
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: Thu Apr 25 22:01:29 2024 UTC