Edit report at https://bugs.php.net/bug.php?id=76687&edit=1
ID: 76687
Updated by: rtheunissen@php.net
Reported by: enumag at gmail dot com
Summary: Ds\Pair documentation is missing $key and $value
properties
-Status: Assigned
+Status: Closed
-Type: Documentation Problem
+Type: Bug
-Package: Documentation problem
+Package: *General Issues
PHP Version: Irrelevant
Assigned To: rtheunissen
Block user comment: N
Private report: N
New Comment:
This has now been fixed. Please see: https://github.com/php-ds/ext-ds/issues/119
Previous Comments:
------------------------------------------------------------------------
[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