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
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 66f5804

Browse filesBrowse files
MacDadafabpot
authored andcommitted
app.php and console: no need to declare $loader variable
The var isn't being used anywhere in the file(s). Because of how "require" works, $loader is still a global variable.
1 parent d935e50 commit 66f5804
Copy full SHA for 66f5804

File tree

1 file changed

+1
-2
lines changed
Filter options

1 file changed

+1
-2
lines changed

‎web/app.php

Copy file name to clipboardExpand all lines: web/app.php
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
use Symfony\Component\HttpFoundation\Request;
44

5-
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
6-
5+
require_once __DIR__.'/../app/bootstrap.php.cache';
76
require_once __DIR__.'/../app/AppKernel.php';
87
//require_once __DIR__.'/../app/AppCache.php';
98

0 commit comments

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