1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

Fix #5099 - use class constant for default

This commit is contained in:
Matt Brown 2021-01-26 21:33:52 -05:00 committed by Daniil Gentili
parent 43170a84a9
commit 037b24550f
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -9,5 +9,5 @@ class PdoStatement implements Traversable {
* @param array $ctorArgs
* @return false|T
*/
public function fetchObject($class = "stdclass", array $ctorArgs = array()) {}
public function fetchObject($class = \stdclass::class, array $ctorArgs = array()) {}
}