> Le 2 mai 2024 à 14:48, Ollie Read <php@ollie.codes> a écrit : > > The question that is holding this PR back is should these methods be 1 > indexed, so that the provided position is consistent with the error messages, > or how a person would typically count, or should they be 0 indexed to remain > consistent with the existing API. >
It ought to be consistent with the existing reciprocal method `ReflectionParameter::getPosition()`, which returns `0` for parameter #1. —Claude