AudioDidact\User::verifyCodes
Generic function to check that a given code is in a given code set and the expiration has not been exceeded
Signature
private function verifyCodes(
$existingCodes,
$toCheck )
Parameters
$existingCodes
—$toCheck
—
Returns
- bool
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
- [ PASSED ] — UserTest::testVerificationCode