- PHP 7.2 has changed the count function to emit warnings when the object being "counted" is not an array or does not implement the Countable interface. The QueryCompiler was using count for objects that did not fall into those two categories. This fixes that problem while maintaining the same logic (returning early when $parts is not set, is null, or has a count of 0).
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||