Edit report at https://bugs.php.net/bug.php?id=76687&edit=1
ID: 76687
Comment by: enumag at gmail dot com
Reported by: enumag at gmail dot com
Summary: Ds\Pair documentation is missing $key and $value
properties
Status: Closed
Type: Bug
Package: *General Issues
PHP Version: Irrelevant
Assigned To: rtheunissen
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2018-11-18 21:06:43] rtheunissen@php.net
This has now been fixed. Please see: https://github.com/php-ds/ext-ds/issues/119
------------------------------------------------------------------------
[2018-07-31 10:17:41] 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 ]] )
}
```
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76687&edit=1