Skip to content

Commit

Permalink
#1096: updated exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
arusinowski committed Sep 4, 2024
1 parent 7629342 commit 299bfcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Behavior/SocialBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function generateUniqueUsername($username)
public function findExistingForSocialLogin(Query $query, array $options)
{
if (!array_key_exists('email', $options)) {
throw new MissingEmailException(__d('cake_d_c/users', 'Missing `email` option in option array'));
throw new MissingEmailException(__d('cake_d_c/users', 'Missing `email` option in options array'));
}

return $query->where(fn(QueryExpression $expression) => $expression
Expand Down

0 comments on commit 299bfcd

Please sign in to comment.