Bug #76687 [Com]: Ds\Pair documentation is missing $key and $value properties

From: Date: Fri, 26 Jun 2020 07:38:03 +0000
Subject: Bug #76687 [Com]: Ds\Pair documentation is missing $key and $value properties
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227675@lists.php.net to get a copy of this message
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


Thread (1 message)

  • enumag at gmail dot com
  • Unknown Message
    • enumag at gmail dot com
« previous php.bugs (#227675) next »