value) ? Types::INTEGER : Types::STRING; } if (is_array($value)) { $firstValue = current($value); if ($firstValue instanceof BackedEnum) { $firstValue = $firstValue->value; } return is_int($firstValue) ? ArrayParameterType::INTEGER : ArrayParameterType::STRING; } return ParameterType::STRING; } private function __construct() { } }