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

Commitc43d73b

Browse files
committed
minor#14304 minor [#14292] UserProvider::supportsClass (Charly)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead.Discussion----------minor [#14292] UserProvider::supportsClasssymfony/maker-bundle#532Commits-------2b02a0a minor [#14292] UserProvider::supportsClass
2 parents57926a0 +2b02a0a commitc43d73b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎security/user_provider.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ command will generate a nice skeleton to get you started::
409409
*/
410410
public function supportsClass($class)
411411
{
412-
return User::class === $class;
412+
return User::class === $class || is_subclass_of($class, User::class);
413413
}
414414
}
415415

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp