Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use eager loaded tag state + null handling
Closes #72, ref #45 and #46. Seems like the only issue with the original PR is that a null state (doesn't exist) wasn't handled, while the original code always returned a dummy state if it didn't exist in the DB. The added '?? null' avoids warnings/notices regarding null->subscription (which depends on PHP version)
- Loading branch information