Skip to content

Commit 63795fa

Browse files
committed
minor #9763 Update argument_value_resolver.rst (ddegasperi)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #9763). Discussion ---------- Update argument_value_resolver.rst Add missing class imports <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 5b49c7b Update argument_value_resolver.rst
2 parents 7a280a3 + 5b49c7b commit 63795fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

controller/argument_value_resolver.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,11 @@ retrieved from the token storage::
9696
namespace AppBundle\ArgumentResolver;
9797

9898
use AppBundle\Entity\User;
99+
use Symfony\Component\HttpFoundation\Request;
99100
use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
101+
use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata;
100102
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
103+
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
101104

102105
class UserValueResolver implements ArgumentValueResolverInterface
103106
{

0 commit comments

Comments
 (0)