Skip to content

Commit 88bb706

Browse files
committed
bug #1060 Add missing Passport use statement (bocharsky-bw)
This PR was squashed before being merged into the 1.0-dev branch. Discussion ---------- Add missing Passport use statement We either use `PassportInterface` or `Passport` below, but only add `PassportInterface` use statement Commits ------- 64ab28b Add missing Passport use statement
2 parents f003e99 + 64ab28b commit 88bb706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/skeleton/authenticator/Security52EmptyAuthenticator.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
88
use Symfony\Component\Security\Core\Exception\AuthenticationException;
99
use Symfony\Component\Security\Http\Authenticator\AbstractAuthenticator;
10-
<?= $use_legacy_passport_interface ? 'use Symfony\\Component\\Security\\Http\\Authenticator\\Passport\\PassportInterface;'."\n" : '' ?>
10+
use <?= $use_legacy_passport_interface ? 'Symfony\\Component\\Security\\Http\\Authenticator\\Passport\\PassportInterface' : 'Symfony\\Component\\Security\\Http\\Authenticator\\Passport\\Passport' ?>;
1111

1212
class <?php echo $class_name ?> extends AbstractAuthenticator
1313
{

0 commit comments

Comments
 (0)