Matthew Brown
|
77975167a7
|
Fix #4951 - add Traversable interface to PDOStatement
|
2021-01-29 11:47:28 +01:00 |
|
Holger Woltersdorf
|
972da55d84
|
Add missing param for constructor arguments in PDOStatement#fetchObject (#4915)
* Add missing param for constructor arguments
PDOStatement#fetchObject allows a second, optional parameter for constructor arguments, which - if given - will be passed to the given class' constructor.
See: https://www.php.net/manual/de/pdostatement.fetchobject.php
Also see the PhpStorm stubs: https://github.com/JetBrains/phpstorm-stubs/blob/master/PDO/PDO.php#L1441
* Fix wrong nullability for 2nd argument in PDOStatement#fetchObject
|
2021-01-29 11:47:24 +01:00 |
|
Markus Staab
|
6474d7ee6c
|
Declare PdoStatement->fetchObject($class_name) a taint sink (#4701)
* Declare PdoStatement
* Change to a callable sink
Co-authored-by: Matthew Brown <github@muglug.com>
|
2021-01-29 11:46:26 +01:00 |
|
Markus Staab
|
4206a4f59e
|
Added PDOStatement->fetchObject() stub (#4693)
* Added PDOStatement->fetchObject() stub
* fix stub param
* fix Xdebug spelling
* Use extension_loaded check instead
Co-authored-by: Matthew Brown <github@muglug.com>
|
2021-01-29 11:46:25 +01:00 |
|