[PHP 8.0] Fix \ReflectionParameter deprecations (#1800)
[PHP 8.0] Fix \ReflectionParameter deprecations (#1800)

See https://php.watch/versions/8.0/deprecated-reflectionparameter-methods for details about the deprecations addressed here.
ruflin/Elastica,miniplay/Elastica,giovannialbero1992/Elastica,giovannialbero1992/Elastica,miniplay/Elastica