This repository has been archived by the owner on Feb 5, 2023. It is now read-only.
3.0.8: Removed count function. Fixes #80 (#84)
Since php 7.2, count a number will generate a warning. Because $results['hits']['total'] is a number we can just compare it to zero. `if ($results['hits']['total'] === 0)`