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:
parent
43170a84a9
commit
037b24550f
@ -9,5 +9,5 @@ class PdoStatement implements Traversable {
|
|||||||
* @param array $ctorArgs
|
* @param array $ctorArgs
|
||||||
* @return false|T
|
* @return false|T
|
||||||
*/
|
*/
|
||||||
public function fetchObject($class = "stdclass", array $ctorArgs = array()) {}
|
public function fetchObject($class = \stdclass::class, array $ctorArgs = array()) {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user