Closed
Description
Symfony version(s) affected: 4.1-BETA1 - Worked on 4.0.9
Description
A Js error generated by the Symfony toolbar, then it isn't showing up
ReferenceError: assignment to undeclared variable Sfdump
How to reproduce
Clone this repository then run composer install && php bin/console server:run
https://github.com/FabienPapet/symfony-issue
Possible Solution
n/a
Additional context
<?php
namespace App\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
class TestController extends Controller
{
/**
* @Route("/test", name="test")
* @return Response
*/
public function fooAction()
{
dump('test');
return $this->render('base.html.twig');
}
}