mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-12 16:58:37 +00:00
Update bundle & stock file
- update stock file (AppKernel, app.php, etc ..) from SymfonyStandard edition) - update bundle to latest release - remove security on profiler
This commit is contained in:
parent
619cc45359
commit
5c895a7fd1
28 changed files with 208 additions and 203 deletions
|
@ -43,7 +43,7 @@ class EntryController extends Controller
|
|||
{
|
||||
$entry = new Entry($this->getUser());
|
||||
|
||||
$form = $this->createForm(new NewEntryType(), $entry);
|
||||
$form = $this->createForm(NewEntryType::class, $entry);
|
||||
|
||||
$form->handleRequest($request);
|
||||
|
||||
|
@ -117,7 +117,7 @@ class EntryController extends Controller
|
|||
{
|
||||
$this->checkUserAction($entry);
|
||||
|
||||
$form = $this->createForm(new EditEntryType(), $entry);
|
||||
$form = $this->createForm(EditEntryType::class, $entry);
|
||||
|
||||
$form->handleRequest($request);
|
||||
|
||||
|
@ -234,7 +234,7 @@ class EntryController extends Controller
|
|||
throw new \InvalidArgumentException(sprintf('Type "%s" is not implemented.', $type));
|
||||
}
|
||||
|
||||
$form = $this->get('form.factory')->create(new EntryFilterType($repository, $this->getUser()));
|
||||
$form = $this->createForm(new EntryFilterType($repository, $this->getUser()));
|
||||
|
||||
if ($request->query->has($form->getName())) {
|
||||
// manually bind values from the request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue