Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite6ba8e3

Browse files
committed
Merge pull request#2127 from jrobeson/patch-2
Fix UsernameNotFoundException example (take 2)
2 parents21178b1 +a8d444e commite6ba8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cookbook/security/entity_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ The code below shows the implementation of the
384384
// if there is no record matching the criteria.
385385
$user = $q->getSingleResult();
386386
} catch (NoResultException $e) {
387-
throw new UsernameNotFoundException(sprintf('Unable to find an active admin AcmeUserBundle:User object identified by"%s".', $username),null,0, $e);
387+
throw new UsernameNotFoundException(sprintf('Unable to find an active admin AcmeUserBundle:User object identified by"%s".', $username), 0, $e);
388388
}
389389
390390
return $user;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp