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

Appearance settings

Commit de69a87

Browse filesBrowse files
committed
HttpKernel name can't be imported twice, if importing only Symfony\Component\HttpKernel\HttpKernel there will be problems later with HttpKernel subclasses (HttpKernel\Controller\ControllerResolver first and the others following). Could use 'use ... as ...' but I don't like it.
1 parent 1f43dbf commit de69a87
Copy full SHA for de69a87

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎book/part12.rst

Copy file name to clipboardExpand all lines: book/part12.rst
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ some code from the front controller to it::
1212

1313
namespace Simplex;
1414

15-
use Symfony\Component\HttpKernel\HttpKernel;
1615
use Symfony\Component\Routing;
1716
use Symfony\Component\HttpKernel;
1817
use Symfony\Component\EventDispatcher\EventDispatcher;
1918

20-
class Framework extends HttpKernel
19+
class Framework extends HttpKernel\HttpKernel
2120
{
2221
public function __construct($routes)
2322
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.