Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge 7d8a01a into 8713734
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jul 9, 2018
2 parents 8713734 + 7d8a01a commit 86f2334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/DbTable/AbstractAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ protected function authenticateQuerySelect(Sql\Select $dbSelect)
*/
protected function authenticateValidateResultSet(array $resultIdentities)
{
if (count($resultIdentities) < 1) {
if (! $resultIdentities) {
$this->authenticateResultInfo['code'] = AuthenticationResult::FAILURE_IDENTITY_NOT_FOUND;
$this->authenticateResultInfo['messages'][] = 'A record with the supplied identity could not be found.';
return $this->authenticateCreateAuthResult();
Expand Down

0 comments on commit 86f2334

Please sign in to comment.