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

Commit 20a2e46

Browse files
Use interface_exists
1 parent d879c1a commit 20a2e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/PasswordAuthenticatedUserStubFilesExtension.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class PasswordAuthenticatedUserStubFilesExtension implements StubFilesExtension
1010

1111
public function getFiles(): array
1212
{
13-
if (!class_exists('Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface')) {
13+
if (!interface_exists('Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface')) {
1414
return [];
1515
}
1616

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /