minor #18340 [WebProfilerBundle] Add missing use statement. (camporter)
This PR was merged into the 2.7 branch.
Discussion
----------
[WebProfilerBundle] Add missing use statement.
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
The RouterController creates a Request in getTraces, but does not have a `use` statement, which causes an exception when trying to view profile routing in >2.7.
Commits
-------
0d31c3e
[WebProfilerBundle] Add missing use statement.
This commit is contained in:
commit
b054aebf37
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\WebProfilerBundle\Controller;
|
namespace Symfony\Bundle\WebProfilerBundle\Controller;
|
||||||
|
|
||||||
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\Routing\Matcher\UrlMatcherInterface;
|
use Symfony\Component\Routing\Matcher\UrlMatcherInterface;
|
||||||
use Symfony\Component\Routing\Matcher\TraceableUrlMatcher;
|
use Symfony\Component\Routing\Matcher\TraceableUrlMatcher;
|
||||||
|
Reference in New Issue
Block a user