final class ParameterNamesComparator (View source)

Compares parameter names positionally between reflection and stubs.

Returns empty array when counts differ (that's ParametersCountCheck's responsibility).

Methods

static array
findMismatches(array $reflParams, array $stubParams)

No description

Details

static array findMismatches(array $reflParams, array $stubParams)

No description

Parameters

array $reflParams

Reflection parameters

array $stubParams

Version-filtered and deduplicated stub parameters

Return Value

array

Mismatch descriptions, empty if all match