bigcommerce-labs/analytics-php — pull request #7 by lord2800 (2014-09-05 18:49:56+00:00)
Title: Don't try to array_combine two empty arrays

This fixes the case where there are no consumers attached to the analytics instance. Basically, `array_combine` requires that both arrays have a value, otherwise it throws an error. We shouldn't be calling `array_combine` with two empty arrays in the first place--the result will always be an empty array in that case--so this is a minor optimization, but it also prevents unit tests from failing (since they never have consumers attached).

ping @PascalZajac