1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00
psalm/stubs
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
..
CoreGenericClasses.phpstub Use better stubs for Serializable and SoapClient 2021-01-29 11:47:18 +01:00
CoreGenericFunctions.phpstub fix phpdoc (#4905) 2021-01-29 11:47:23 +01:00
CoreImmutableClasses.phpstub Move static code out of src 2021-01-29 11:39:51 +01:00
ext-ds.php Fix Ds\Sequence::toArray() return type (#4763) 2021-01-29 11:47:13 +01:00
ext-geos.php GEOS stubs (#4902) 2021-01-29 11:47:22 +01:00
pdo.php Add missing param for constructor arguments in PDOStatement#fetchObject (#4915) 2021-01-29 11:47:24 +01:00
Php80.php Change ReflectionUnionType::getTypes() return type (#4903) 2021-01-29 11:47:22 +01:00
soap.php Use better stubs for Serializable and SoapClient 2021-01-29 11:47:18 +01:00
Xdebug.php Move static code out of src 2021-01-29 11:39:51 +01:00