[2.0]Updated method parameters type

Fix error
`PHP Fatal error:  xxxxx must be compatible with xxxxx(xxxxx) in Unknown on line 0`